Hi ....
I am building a system that runs on a server with CentOS Linux, the site is located in the folder: / var / www / html / panel
the problem is I have to access a file that is in the folder: /var/asterisk/monitor, so the file is out of the $DOC_ROOT, and I provide a link for downloading this file.
I simply can not access. if using the variable $ _SERVER [ 'DOCUMENT_ROOT'] I can go to the root of the apache server that is /var/www, but I can not in any way to access something external to it ...
I tried to turn back the directory like this ..
"../../../var/asterisk/monitor, " but I can not, is automatically inserted into the start of the link the server address http://201.25.265.56/ .... then any address I put the link is more or less well
"http://201.25.265.56../../../var/spool/asterisk/monitor"
I tried to put the full path too .. like /var/asterisk/monitor .. But so far without success ...
I would like to help a .. a light ... I search in a forum but without sucess ....
thanks
"excuse my poor english, cause in my country we speak portuguese"