Michael Lake wrote:
Problem:
I can't get http://localhost/kid/ to serve out
http://localhost/kid/index in Apache 2.0
...
The error log shows when I access http://localhost/kid/
"Attempt to serve directory /home/kiddev/asf-kid/html/"
This will close this thread. The prob was indeed a problem of mod-perl2 +
apache2.
This summarises the problem: http://www.wlug.org.nz/SargeApache2Notes
The fix is in amoung this long thread:
http://www.spanner.org/lists/mod_perl/2005/04/27/12c49991.html
Basically for version 1.999 of mod_perl with apache2 the DirectoryIndex directive is
broken. Apparently perl gets the request for the directory before mod_dir gets a
chance to tack on index onto the end of it. The fix is that you have to load your own
directoty handler into mod_perl by placicing a small perl script in a directory and
loading it from the apache2.conf file.
It only took me a few weeks to figure all this out. Once I did that my system now
works fine.
Mike
--
Michael Lake
Computational Research Support Unit
Science Faculty, UTS
Ph: 9514 2238
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html