Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Aug 2002
    Location
    PA
    Posts
    93
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Viewing the Apache Error Log

    hi,
    I have a file uploading script which uses gd to upload a image and create a thumbnail; the files are created however when i try to view them in the browser i get a apache forbidden error message. Also I tried to install "gallery" but when i went to the setup directory to install it i got the same forbiddeedn error message.

    My host is less than helpfl so i was wondering how i myself could view the apache error log to see whats going on .... is there a wayto view this through php?

    tia

  • #2
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Do you have the fileadress of the logfiles?
    Do you have access to the directory they are in + to the files?
    Posting guidelines I use to see if I will spend time to answer your question : http://www.catb.org/~esr/faqs/smart-questions.html

  • #3
    New Coder
    Join Date
    Aug 2002
    Location
    PA
    Posts
    93
    Thanks
    0
    Thanked 0 Times in 0 Posts
    im not sure where the logfile would be located

    i have access to the directory and files where im uploading my files to


    ill email my host see if i can get some answers

  • #4
    Mega-ultimate member
    Join Date
    Jun 2002
    Location
    Winona, MN - The land of 10,000 lakes
    Posts
    1,855
    Thanks
    1
    Thanked 45 Times in 42 Posts
    If you're hosting on a Linux / Unix / *bsd box, you could try this command from a shell prompt to find the apache error log file...

    Code:
    $> find / -name error_log 2> /dev/null
    If you have permissions, it will find it.


  •  

    Posting Permissions

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