Log in

View Full Version : problem with php



XOTIC
09-24-2006, 05:52 PM
i have a file "log.php" i can access the file normally but when anybody is redirected to this file i get this error..

Forbidden
You don't have permission to access /aeflickr/log.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/1.3.37 Server at www.aeflickr.com Port 80

btw i change the permission to 777 ..

can anybody help me ?

djr33
09-24-2006, 09:48 PM
the 404 for the error document is that you don't have an error page setup, so the default text displays, as well as the warning that you don't have one.

As for the permission, I suppose it's just that you aren't supposed to be able to access the log file. It's likely because it is data that should be protected, and you wouldn't want just anyone viewing it. As such, just copy the file off your ftp account and view that way. (Or run it while in the ftp server... that works, and it'll run just fine, just like http, but won't give you any errors about permissions.)
And, if you do want to change it, be careful because you don't want it publicly available. Have some type of protection on it.

If I were you, I'd leave as is and just view via ftp.