Re: httpd config issue with documentroot



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/
.



Relevant Pages

  • Re: Can someone explain "My Documents"?
    ... > directory would be C:\ and all subdirectories (folders if you will) would ...
    (microsoft.public.windowsxp.general)
  • Re: browsing network folder SLOW when lots of files
    ... Make subdirectories on the "home drive" for the 1800 files. ... barbie gee wrote: ... > One of our users has an enormous number of files at the root of her ... the file listings appeared instantly. ...
    (microsoft.public.windowsxp.general)
  • Re: How about the rule of the DicomDIRs subdirectory?
    ... There is no reason in DICOM of using subdirectories, ... directory in the root, for practical reasons. ... not exceding of course the constraints about the name and ...
    (comp.protocols.dicom)
  • Creating sub directories in the root
    ... We are using the server at our college to host ... In the root we create subdirectories and ... >designate folders inside the root as something, ...
    (microsoft.public.windows.server.general)
  • Re: searching recursively through directories
    ... Joe wrote: ... > I am writing some code to locate files in a given root ... > directory and its subdirectories. ...
    (microsoft.public.vb.general.discussion)