forked from linux/WebHosting
29 lines
693 B
Plaintext
29 lines
693 B
Plaintext
<VirtualHost *:80>
|
|
ServerName niagadm.psi.ch
|
|
DocumentRoot /var/www/niagadm
|
|
|
|
# Allow CGI everywhere if needed
|
|
Options +ExecCGI
|
|
AddHandler cgi-script .pl .cgi .x .py
|
|
|
|
<Directory "/var/www/niagadm">
|
|
Options +ExecCGI
|
|
AllowOverride None
|
|
Require all granted
|
|
</Directory>
|
|
|
|
# Explicit CGI directories
|
|
ScriptAlias /cgi-bin/ /var/www/niagadm/cgi-bin/
|
|
<Directory "/var/www/niagadm/cgi-bin">
|
|
Options +ExecCGI
|
|
Require all granted
|
|
</Directory>
|
|
|
|
ScriptAlias /cgibin/ /var/www/niagadm/cgibin/
|
|
<Directory "/var/www/niagadm/cgibin">
|
|
Options +ExecCGI
|
|
Require all granted
|
|
</Directory>
|
|
</VirtualHost>
|
|
|