Re: httpd config issue with documentroot




"Roger N. Clark (change username to rnclark)" <username@xxxxxxxxx> wrote in
message news:43DE2431.5000606@xxxxxxxxxxxx
> Nico Kadel-Garcia wrote:
>> Roger N. Clark (change username to rnclark) wrote:
>>
>>>Hi. I have a server that when you address it as:
>>>
>>>http://www.aserver.com
>>>
>>>it works fine,
>>>
>>>but http://www.aserver.com/index.html does not. It responds:
>>>
>>>Not Found
>>>The requested URL /index.html/ was not found on this server.
>>>
>>>If I take off the trailing /, it responds with the same thing
>>>and adds the / back.
>>>
>>>In all subdirectories the index.html works just fine, and without
>>>the index.html on the root it reads the index.html just fine.
>>>
>>>The config file has the following:
>>>
>>> <Directory "/var/www/html">
>>> Options +FollowSymLinks -Indexes -MultiViews -ExecCGI
>>> Order Allow,Deny
>>> Allow from All
>>> DirectoryIndex index.html
>>> </Directory>
>>>
>>>Any ideas? It is redhat ws4.
>>
>>
>> What do the error logs in /var/log/httpd/ say about it?
> error_log:
> File does not exist: /var/www/html/index.html/

What the hell? Why is a trailing "/" showing up on that?


.



Relevant Pages