|
# service apache2 restart
[Fri Dec 01 20:37:18 2006] [warn] The ScriptAlias directive in /etc/apache2/conf.d/mod_perl.conf at line 11 will probably never match because it overlaps an earlier ScriptAlias.
Syntax OK
Shutting down httpd2 (waiting for all children to terminate) done
Starting httpd2 (prefork) [Fri Dec 01 20:37:19 2006] [warn] The ScriptAlias directive in /etc/apache2/conf.d/mod_perl.conf at line 11 will probably never match because it overlaps an earlier ScriptAlias.
done
less /etc/apache2/default-server.conf
ScriptAlias /perl/ "/srv/www/perl/"
<Directory "/srv/www/perl">
#AllowOverride None
Options Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#aOptions +ExecCGI -Includes Followsymlinks
Order allow,deny
Allow from all
</Directory>
<Directory "/srv/www/perl-lib">
AllowOverride None
Options None
Order allow,deny
allow from all
</Directory>
<IfModule mod_perl.c>
PerlRequire "/etc/apache2/mod_perl-startup.pl"
ScriptAlias /perl/ "/srv/www/perl/"
<Location /perl>
#mod_perl mode
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
</Location>
ScriptAlias /cgi-perl/ "/srv/www/cgi-bin/"
<Location /cgi-perl>
#perl cgi mode
SetHandler perl-script
PerlResponseHandler ModPerl:erlRun
PerlOptions +ParseHeaders
Options +ExecCGI
</Location>
# The /cgi-bin/ ScriptAlias is already set up in httpd.conf
/etc/apache2/conf.d/mod_perl.conf lines 1-29/33 95% |
|