Notice:
http://exitwound.org/music/index.pl works.
http://exitwound.org/music does not work.
The 403 Forbidden error is reflected in the logs as
attempt to invoke directory as script:
DirectoryIndex is specified correctly: DirectoryIndex index.pl index.php index.html index.htm index.shtml index.cgi
The handler is there:
AddHandler cgi-script
I have a ScriptAlias of:
ScriptAlias
(Note: the funky spacing the Directory tags is intentional - for some reason my PRE tags didn't prevent them from getting eaten. The spacing is correct in httpd.conf.)
No joy. Sore head.
Posted from exitwound.org, comment here.
To slash... or not to slash... (Score:1)
If I understand correctly...
You have a script alias of
That means the URL must be
If your script alias is
Then the URL can be
(I'm not totally positive... but, I think you have to list both to cover both cases)
Re:To slash... or not to slash... (Score:1)
Note the lack of trailing slashes in both the alias definition and the directory path - This will provide the correct functionality irrelevant of whether the web URL is invoked with the full path to index.pl or merely to the parent directory.
Re:To slash... or not to slash... (Score:1)
If things get any worse, I'll have to ask you to stop helping me.
Re:To slash... or not to slash... (Score:1)
Here is what my manual says about DirectoryIndex:
---
The DirectoryIndex directive sets the list of resources to look for, when the client requests an index of the directory by specifying a / at the end of the a directory name.
Re:To slash... or not to slash... (Score:1)
Grr....
If things get any worse, I'll have to ask you to stop helping me.
Did you manage to fix this? (Score:1)
Re:Did you manage to fix this? (Score:1)
If things get any worse, I'll have to ask you to stop helping me.
Re:Did you manage to fix this? (Score:1)
Re:Did you manage to fix this? (Score:1)
If things get any worse, I'll have to ask you to stop helping me.