forked from linux/WebHosting
4fb595ea66
Signed-off-by: Basil Bruhn <basil.bruhn@psi.ch>
24 lines
594 B
Plaintext
24 lines
594 B
Plaintext
<VirtualHost *:80>
|
|
ServerName rfmwtools-test.psi.ch
|
|
|
|
DocumentRoot /var/www/rfmwtools
|
|
|
|
# Serve HTML and static files at root
|
|
<Directory "/var/www/rfmwtools">
|
|
Options +FollowSymLinks
|
|
DirectoryIndex rfmwtools.html
|
|
Require all granted
|
|
</Directory>
|
|
|
|
# Enable CGI execution for scripts in cgi-bin
|
|
<Directory "/var/www/rfmwtools/cgi-bin">
|
|
Options +ExecCGI +FollowSymLinks
|
|
AddHandler cgi-script .sh .cgi
|
|
Require all granted
|
|
</Directory>
|
|
|
|
ErrorLog /proc/self/fd/2
|
|
CustomLog /proc/self/fd/1 combined
|
|
</VirtualHost>
|
|
|