diff options
-rw-r--r-- | apache2/conf.d/local-userdir.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apache2/conf.d/local-userdir.conf b/apache2/conf.d/local-userdir.conf index c30f10c..aff1836 100644 --- a/apache2/conf.d/local-userdir.conf +++ b/apache2/conf.d/local-userdir.conf @@ -1,7 +1,7 @@ UserDir public_html UserDir disabled root -<Directory /home/*/public_html> +<DirectoryMatch ^/((srv/)?home/[a-z0-9-_]+|srv/[a-z0-9-_]+/home)/public_html> AllowOverride FileInfo AuthConfig Limit Indexes Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec <Limit GET POST OPTIONS> @@ -12,4 +12,4 @@ UserDir disabled root Order deny,allow Deny from all </LimitExcept> -</Directory> +</DirectoryMatch> |