I’m not sure if this is the appropriate place to post an Apache question, so apologies if it is not.
Version is 2.2.8-28.1
For some reason, there is one particular folder under my HTDOCS directory that can’t be read by a web browser. Every other folder under HTDOCS works fine using the URL http://localhost/foldername, but this one produces the error (Opera):
You tried to access the address http://localhost/tle, which is currently unavailable. Please make sure that the Web address (URL) is correctly spelled and punctuated, then try reloading the page.
There is an index document in the folder, and I checked to make sure the permissions and ownership were identical to the parallel folders.
The folder was downloaded from a web server directly to /srv/www/htdocs using an FTP client.
Check the /var/log/apache2/error_log and /var/log/apache2/access_log
files. What do you see in there (the first mostly I’m guessing)? Are
you sure you have the case of the directory specified properly?
Good luck.
jfeaz wrote:
| I’m not sure if this is the appropriate place to post an Apache
| question, so apologies if it is not.
|
| Version is 2.2.8-28.1
|
| For some reason, there is one particular folder under my HTDOCS
| directory that can’t be read by a web browser. Every other folder under
| HTDOCS works fine using the URL http://localhost/foldername, but this
| one produces the error:
|
|
Thanks!! Checking the apache error log revealed that there was a missing include required in my PHP script. Not sure how it would generate that particular browser error, but I replaced the file and it works now.
I have only used Apache in a Windows environment before so I didn’t know the path to the error logs in Linux.
I’ve been using Linux exclusively for almost a month now, and I’m completely sold. Thanks for your help!
Glad to hear that worked. The first step is just knowing where to look.
Thank-you for posting back the solution.
Good luck.
jfeaz wrote:
> ab@novell.com –
>
> Thanks!! Checking the apache error log revealed that there was a
> missing include required in my PHP script. Not sure how it would
> generate that particular browser error, but I replaced the file and it
> works now.
>
> I have only used Apache in a Windows environment before so I didn’t
> know the path to the error logs in Linux.
>
> I’ve been using Linux exclusively for almost a month now, and I’m
> completely sold. Thanks for your help!
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org