From 60865c69c5324424cd464a9fae7dd3c4bc5b7c83 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Sun, 5 Nov 2023 20:16:24 +0000 Subject: [PATCH] Add userdir stuff to apache. --- etc/apache/sites.d/_default_.conf | 49 +++++++++++++++++++++++++++++-- 1 file changed, 47 insertions(+), 2 deletions(-) diff --git a/etc/apache/sites.d/_default_.conf b/etc/apache/sites.d/_default_.conf index 60e50cd..4855be8 100644 --- a/etc/apache/sites.d/_default_.conf +++ b/etc/apache/sites.d/_default_.conf @@ -1,3 +1,48 @@ + + Options Includes MultiViews SymlinksIfOwnerMatch + AllowOverride AuthConfig FileInfo Indexes Limit Options + + Require all granted + + AllowMethods GET POST OPTIONS + + DirectoryIndex index.html + + DirectoryIndex index.shtml + + + + + SSLOptions +StdEnvVars + + + + + DirectoryIndex index.php + + + + SetHandler proxy:fcgi://127.0.0.1:9000/ + + + + + + + Options Includes MultiViews SymLinksIfOwnerMatch + AllowOverride None + + Require all granted + + AllowMethods GET POST OPTIONS + + DirectoryIndex disabled + + + SSLOptions +StdEnvVars + + + ServerName afterdark.org.uk ServerAlias www.afterdark.org.uk @@ -24,7 +69,7 @@ ProxyPassReverse /git http://127.0.0.1:3000 - UserDir www/html + UserDir /data/home/*/www/html UserDir Disabled root @@ -57,7 +102,7 @@ ProxyPassReverse /git http://127.0.0.1:3000 - UserDir www/html + UserDir /data/home/*/www/html UserDir Disabled root