I'm attempting to run some code off a
mounted drive on RH Linux 7.1 (Apache 1.3.2, modperl-1.26), but for some reason,
my Location directive is ignored (code is executed from the local drive
instead)
I'm pointing to /mnt/qa_load_www/cgi-shl,
but code is instead executed from /apache/cgi-shl. The mounted drive is
available for read, etc (if I su nobody, I can see it, etc). I've read http://perl.apache.org/guide/config.html#Alias_Configurations several
times, and everything looks correct...
Ideas/suggestions welcome
Dave
/apache/conf/httpd.conf
[pertinent parts only]
#
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# Alias.
#
Alias /cgi-shl/ /mnt/qa_load_www/cgi-shl/
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# Alias.
#
Alias /cgi-shl/ /mnt/qa_load_www/cgi-shl/
#
# "/apache/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
PerlModule Apache::Registry
# "/apache/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
PerlModule Apache::Registry
#Enable
mod_perl
<Location "/cgi-shl">
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
</Location>
<Location "/cgi-shl">
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
</Location>
</IfModule>