Results 1 to 2 of 2

Thread: problem with php

  1. #1
    Join Date
    Jul 2006
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default problem with php

    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 ?

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    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.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •