temmie/userweb: set handlers for php and perl scripts

This commit is contained in:
h7x4
2026-06-13 01:09:49 +09:00
parent 5763a76136
commit f54109f6f3
+13
View File
@@ -212,6 +212,19 @@ in
extraConfig = ''
TraceEnable on
LogLevel warn rewrite:trace3
<FilesMatch ".+\.ph(p[3457]?|t|tml)$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch ".+\.phps$">
SetHandler application/x-httpd-php-source
Require all denied
</FilesMatch>
<FilesMatch "\.pl$">
SetHandler modperl
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
</FilesMatch>
'';
virtualHosts."temmie.pvv.ntnu.no" = {