mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2026-07-04 09:51:47 +02:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ed57744ec3 | |||
| 226db1f46e | |||
| 51e1656177 |
@@ -78,9 +78,32 @@ in
|
|||||||
ScriptLog "${cfg.logDir}/cgi.log"
|
ScriptLog "${cfg.logDir}/cgi.log"
|
||||||
|
|
||||||
UserDir ${lib.concatMapStringsSep " " (l: "/home/pvv/${l}/*/web-docs") mcfg.homeLetters}
|
UserDir ${lib.concatMapStringsSep " " (l: "/home/pvv/${l}/*/web-docs") mcfg.homeLetters}
|
||||||
|
|
||||||
UserDir disabled root
|
UserDir disabled root
|
||||||
|
UserDir disabled pvv
|
||||||
|
|
||||||
AddHandler cgi-script .cgi
|
AddHandler cgi-script .cgi
|
||||||
DirectoryIndex index.html index.html.var index.php index.php3 index.cgi index.phtml index.shtml meg.html
|
|
||||||
|
DirectoryIndex ${lib.concatStringsSep " " [
|
||||||
|
"index.htm"
|
||||||
|
"index.html"
|
||||||
|
"index.html.var"
|
||||||
|
|
||||||
|
"index.shtml"
|
||||||
|
"index.xhtml"
|
||||||
|
|
||||||
|
"index.php"
|
||||||
|
"index.php3"
|
||||||
|
"index.php4"
|
||||||
|
"index.pht"
|
||||||
|
"index.phtml"
|
||||||
|
|
||||||
|
"index.cgi"
|
||||||
|
"index.txt"
|
||||||
|
|
||||||
|
"meg.html"
|
||||||
|
]}
|
||||||
|
|
||||||
SetEnvIf Request_URI "^/~([^/]+)" USERDIR_USER=$1
|
SetEnvIf Request_URI "^/~([^/]+)" USERDIR_USER=$1
|
||||||
|
|
||||||
<Directory "/home/pvv/?/*/web-docs">
|
<Directory "/home/pvv/?/*/web-docs">
|
||||||
@@ -95,14 +118,28 @@ in
|
|||||||
"\\.svn"
|
"\\.svn"
|
||||||
"\\.ssh"
|
"\\.ssh"
|
||||||
"\\.env"
|
"\\.env"
|
||||||
|
"\\.env\\..*"
|
||||||
|
"\\.envs"
|
||||||
|
"\\.envs\\..*"
|
||||||
"\\.envrc"
|
"\\.envrc"
|
||||||
"\\.bzr"
|
"\\.bzr"
|
||||||
"\\.venv"
|
"\\.venv"
|
||||||
"CVS"
|
"CVS"
|
||||||
"RCS"
|
"RCS"
|
||||||
|
|
||||||
".*\\.swp"
|
".*\\.swp"
|
||||||
".*\\.bak"
|
|
||||||
".*~"
|
".*~"
|
||||||
|
|
||||||
|
".*\\.bak"
|
||||||
|
".*\\.bak.*"
|
||||||
|
".*\\.bkp"
|
||||||
|
".*\\.bkp.*"
|
||||||
|
".*\\.backup"
|
||||||
|
".*\\.backup.*"
|
||||||
|
|
||||||
|
".*\\.lck"
|
||||||
|
".*\\.lock"
|
||||||
|
"LCK\\.\\..*"
|
||||||
]})(/|$)">
|
]})(/|$)">
|
||||||
AllowOverride All
|
AllowOverride All
|
||||||
Require all denied
|
Require all denied
|
||||||
|
|||||||
Reference in New Issue
Block a user