Women in Technology

Hear us Roar

  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:

This fails with an error:

Why wouldn't DirectoryIndex take over and run index.py since we are accessing the ScpritAliased directory itself?