temmie/userweb: enable httpd trace on debugMode

This commit is contained in:
h7x4
2026-06-16 18:51:02 +09:00
parent a776a5a5fe
commit 8252bba3ad
+14 -14
View File
@@ -49,22 +49,9 @@ in
logPerVirtualHost = false;
extraConfig = ''
extraConfig = lib.mkIf mcfg.debugMode ''
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" = {
@@ -148,6 +135,19 @@ in
AllowOverride All
Require all denied
</DirectoryMatch>
<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>
'';
};
};