Signed-off-by: Basil Bruhn <basil.bruhn@psi.ch>
This commit is contained in:
2025-11-11 13:18:58 +01:00
parent 50b7cf64c5
commit 570cd243e2

View File

@@ -1,19 +1,26 @@
<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