forked from linux/WebHosting
@@ -0,0 +1,22 @@
|
||||
<VirtualHost *:80>
|
||||
ServerName srem-test.psi.ch
|
||||
DocumentRoot /var/www/srem
|
||||
|
||||
# Allow CGI everywhere if needed
|
||||
Options +ExecCGI
|
||||
AddHandler cgi-script .pl .cgi
|
||||
|
||||
<Directory "/var/www/srem">
|
||||
Options +ExecCGI
|
||||
AllowOverride None
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
# Explicit CGI directories
|
||||
ScriptAlias /cgibin/ /var/www/srem/cgibin/
|
||||
<Directory "/var/www/srem/cgibin">
|
||||
Options +ExecCGI
|
||||
Require all granted
|
||||
</Directory>
|
||||
</VirtualHost>
|
||||
|
||||
Reference in New Issue
Block a user