Add userdir stuff to apache.

This commit is contained in:
Darren 'Tadgy' Austin 2023-11-05 20:16:24 +00:00
commit 60865c69c5

View file

@ -1,3 +1,48 @@
<Directory /data/home/*/www/html>
Options Includes MultiViews SymlinksIfOwnerMatch
AllowOverride AuthConfig FileInfo Indexes Limit Options
Require all granted
AllowMethods GET POST OPTIONS
DirectoryIndex index.html
<IfModule include_module>
DirectoryIndex index.shtml
</IfModule>
<IfModule ssl_module>
<FilesMatch "\.(shtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
</IfModule>
<IfModule proxy_fcgi_module>
DirectoryIndex index.php
<FilesMatch "\.php$">
<If "-f %{REQUEST_FILENAME}">
SetHandler proxy:fcgi://127.0.0.1:9000/
</If>
</FilesMatch>
</IfModule>
</Directory>
<Directory /data/home/*/www/cgi-bin>
Options Includes MultiViews SymLinksIfOwnerMatch
AllowOverride None
Require all granted
AllowMethods GET POST OPTIONS
DirectoryIndex disabled
<IfModule ssl_module>
SSLOptions +StdEnvVars
</IfModule>
</Directory>
<VirtualHost 192.168.67.6:80 [2001:470:1f1d:58::67:6]:80 _default_:80>
ServerName afterdark.org.uk
ServerAlias www.afterdark.org.uk
@ -24,7 +69,7 @@
ProxyPassReverse /git http://127.0.0.1:3000
<IfModule userdir_module>
UserDir www/html
UserDir /data/home/*/www/html
UserDir Disabled root
</IfModule>
</IfModule>
@ -57,7 +102,7 @@
ProxyPassReverse /git http://127.0.0.1:3000
<IfModule userdir_module>
UserDir www/html
UserDir /data/home/*/www/html
UserDir Disabled root
</IfModule>
</VirtualHost>