version 1.1, 2006/12/15 20:14:21
|
version 1.3, 2006/12/16 16:22:14
|
Line 387 Listen 443
|
Line 387 Listen 443
|
# when the value of (unsigned)Group is above 60000; |
# when the value of (unsigned)Group is above 60000; |
# don't use Group "#-1" on these systems! |
# don't use Group "#-1" on these systems! |
# |
# |
User wwwrun |
User www |
Group www |
Group www |
|
|
# |
# |
Line 398 Group www
|
Line 398 Group www
|
|
|
# Note: this email address is set by SuSEconfig according to the setting of the |
# Note: this email address is set by SuSEconfig according to the setting of the |
# HTTPD_SEC_SERVERADMIN variable in /etc/sysconfig/apache! |
# HTTPD_SEC_SERVERADMIN variable in /etc/sysconfig/apache! |
ServerAdmin raeburn@msu.edu |
ServerAdmin root@localhost |
|
|
# |
# |
# ServerName allows you to set a host name which is sent back to clients for |
# ServerName allows you to set a host name which is sent back to clients for |
Line 820 ServerSignature Off
|
Line 820 ServerSignature Off
|
# Provide two aliases to the same cgi-bin directory, |
# Provide two aliases to the same cgi-bin directory, |
# to see the effects of the 2 different mod_perl modes. |
# to see the effects of the 2 different mod_perl modes. |
# for Apache::Registry Mode |
# for Apache::Registry Mode |
ScriptAlias /perl/ "/srv/www/cgi-bin/" |
# ScriptAlias /perl/ "/srv/www/cgi-bin/" |
# for Apache::Perlrun Mode |
# for Apache::Perlrun Mode |
ScriptAlias /cgi-perl/ "/srv/www/cgi-bin/" |
# ScriptAlias /cgi-perl/ "/srv/www/cgi-bin/" |
</IfModule> |
</IfModule> |
# |
# |
# "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased |
# "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased |
# CGI directory exists, if you have that configured. |
# CGI directory exists, if you have that configured. |
# |
# |
<Directory "/srv/www/cgi-bin"> |
# <Directory "/srv/www/cgi-bin"> |
AllowOverride None |
# AllowOverride None |
Options None |
# Options None |
Order allow,deny |
# Order allow,deny |
Allow from all |
# Allow from all |
</Directory> |
# </Directory> |
|
|
</IfModule> |
</IfModule> |
# End of aliases. |
# End of aliases. |
Line 842 ServerSignature Off
|
Line 842 ServerSignature Off
|
# |
# |
# set /cgi-bin for CGI execution |
# set /cgi-bin for CGI execution |
# |
# |
<Location /cgi-bin> |
#<Location /cgi-bin> |
AllowOverride None |
#AllowOverride None |
Options +ExecCGI -Includes |
#Options +ExecCGI -Includes |
SetHandler cgi-script |
#SetHandler cgi-script |
</Location> |
#</Location> |
|
|
# |
# |
# If mod_perl is activated, load configuration information |
# If mod_perl is activated, load configuration information |
# |
# |
<IfModule mod_perl.c> |
<IfModule mod_perl.c> |
Perlrequire /usr/include/apache/modules/perl/startup.perl |
#Perlrequire /usr/include/apache/modules/perl/startup.perl |
PerlModule Apache::Registry |
PerlModule Apache::Registry |
|
|
# |
# |
# set Apache::Registry Mode for /perl Alias |
# set Apache::Registry Mode for /perl Alias |
# |
# |
<Location /perl> |
#<Location /perl> |
SetHandler perl-script |
#SetHandler perl-script |
PerlHandler Apache::Registry |
#PerlHandler Apache::Registry |
Options ExecCGI |
#Options ExecCGI |
PerlSendHeader On |
#PerlSendHeader On |
</Location> |
#</Location> |
|
|
# |
# |
# set Apache::PerlRun Mode for /cgi-perl Alias |
# set Apache::PerlRun Mode for /cgi-perl Alias |
# |
# |
<Location /cgi-perl> |
#<Location /cgi-perl> |
SetHandler perl-script |
#SetHandler perl-script |
PerlHandler Apache::PerlRun |
#PerlHandler Apache::PerlRun |
Options ExecCGI |
#Options ExecCGI |
PerlSendHeader On |
#PerlSendHeader On |
</Location> |
#</Location> |
|
|
</IfModule> |
</IfModule> |
|
|