forked from linux/WebHosting
30 lines
751 B
Plaintext
30 lines
751 B
Plaintext
<VirtualHost *:80>
|
|
ServerName rfmwtools-test.psi.ch
|
|
|
|
# Document root for static files
|
|
DocumentRoot /var/www/rfmwtools
|
|
|
|
# CGI scripts
|
|
ScriptAlias /cgi-bin/ /var/www/rfmwtools/cgi-bin/
|
|
|
|
<Directory "/var/www/rfmwtools/cgi-bin">
|
|
Options +ExecCGI +FollowSymLinks +Indexes
|
|
AddHandler cgi-script .sh .cgi
|
|
Require all granted
|
|
|
|
SetEnv SCRIPT_WORKDIR /var/www/rfmwtools/cgi-bin
|
|
DirectoryIndex rfmwtools.html
|
|
</Directory>
|
|
|
|
<Directory "/var/www/rfmwtools">
|
|
Options Indexes FollowSymLinks
|
|
AllowOverride None
|
|
Require all granted
|
|
DirectoryIndex rfmwtools.html
|
|
</Directory>
|
|
|
|
ErrorLog /proc/self/fd/2
|
|
CustomLog /proc/self/fd/1 combined
|
|
</VirtualHost>
|
|
|