Hear us Roar
Article:
 |
|
Apache Web-Serving with Mac OS X, Part 4
|
| Subject: |
|
Directory Index in script aliased directories |
| Date: |
|
2008-05-13 05:45:23 |
| From: |
|
Chris V
|
|
|
I have my DirectoryIndex set to:
DirectoryIndex index.html /~chris/cgi/index.py
The cgi directory is scriptaliased as such to activate cgi in the cgi directory
ScriptAlias /cgi /cgi
This serves up and runs the python script:
http://localhost/~chris/cgi/index.py
This fails with an error:
http://localhost/~chris/cgi
Why wouldn't DirectoryIndex take over and run index.py since we are accessing the ScpritAliased directory itself?
Thanks
-cv
|
|
| |