Michael Lake wrote:

Hi all

I have Apache installed on Windows 2000 and can't get the DirectoryIndex command to work. It works fine on Linux.

Here is what I have in httpd.conf

<IfModule mod_dir.c>
    # MRL changed this line.
    # DirectoryIndex index.html
    DirectoryIndex index
</IfModule>

<Location /kid>
    SetHandler perl-script
    PerlSendHeader On
    Options +ExecCGI
    DirectoryIndex index
</Location>

Alias /kid "c:/asf-kid/html"

If I send to browser to http://127.0.0.1/kid/ it cant find the file and I get in the apache error log:
c:/asf-kid/html not found or unable to stat


If I go to http://127.0.0.1/kid/index its OK and the pages comes up.

This all works fine on Linux with Apache. I didnt find any reference to any quirks like this for Apache on Windows at the Apache.org.

Any suggestions on what I can check/change ????


Did you try it with the .html extension on both DirectoryIndex directives?

Fil
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to