Here is the scnerio.
I have hosted some cgi-scripts on my web server and I want my web server to serve the script when I access just the URL http://myhost.example.com/
I configured the virtual host directive as below.
ScriptAlias / /home/arun/www/cgi-bin
Allow from all
Now, when I access the URL http://myhost.example.com/index.py
, it works. But when I try to access the URL http://myhost.example.com/
, the returning error "403 forbidden".
I guess DirectoryIndex works only with DocumentRoot and not with ScriptAlias. I could make it work by using ReWrite directive, but its again a work around I feel.
Appreciate any inputs on this regard.