Virtual Host Templates:

ServerAdmin webmaster@<domain>
cgi+fastcgi: Location => Directory
This commit is contained in:
Michael Hierweck 2012-09-20 18:50:00 +02:00
parent 58b9c96c76
commit 968560db41
2 changed files with 10 additions and 10 deletions

View File

@ -7,7 +7,7 @@
ServerName {DOM_HOSTNAME}
ServerAlias *.{DOM_HOSTNAME}
ServerAdmin {DOM_USERNAME}@{HIVE}.hostsharing.net
ServerAdmin webmaster@{DOM_HOSTNAME}
SuexecUserGroup {DOM_USERNAME} {PAC}
@ -24,15 +24,15 @@
AllowOverride AuthConfig FileInfo Indexes Limit
</Directory>
<Location /cgi-bin/>
<Directory /home/doms/{DOM_HOSTNAME}/cgi-bin/>
SetHandler cgi-script
Options +ExecCGI -Indexes -MultiViews
</Location>
</Directory>
<Location /fastcgi-bin/>
<Directory /home/doms/{DOM_HOSTNAME}/fastcgi-bin/>
SetHandler fcgid-script
Options +ExecCGI -Indexes -MultiViews
</Location>
</Directory>
RewriteEngine On
RewriteOptions Inherit

View File

@ -7,7 +7,7 @@
ServerName {DOM_HOSTNAME}
ServerAlias *.{DOM_HOSTNAME}
ServerAdmin {DOM_USERNAME}@{HIVE}.hostsharing.net
ServerAdmin webmaster@{DOM_HOSTNAME}
SuexecUserGroup {DOM_USERNAME} {PAC}
@ -21,13 +21,13 @@
AllowOverride AuthConfig FileInfo Indexes Limit
</Directory>
<Location /cgi-bin/>
<Directory /home/doms/{DOM_HOSTNAME}/cgi-bin/>
Redirect 501 /
</Location>
</Directory>
<Location /fastcgi-bin/>
<Directory /home/doms/{DOM_HOSTNAME}/fastcgi-bin/>
Redirect 501 /
</Location>
</Directory>
RewriteEngine On
RewriteOptions Inherit