Updates for apache http configs.
This commit is contained in:
parent
d27d4e3965
commit
4bf8d740a6
7 changed files with 82 additions and 24 deletions
|
|
@ -1,17 +1,48 @@
|
|||
<Directory /srv/pla/>
|
||||
Options FollowSymlinks
|
||||
AllowOverride None
|
||||
Require all granted
|
||||
<Directory /usr/share/dokuwiki/>
|
||||
Options +FollowSymLinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteBase //wiki
|
||||
RewriteRule ^lib - [L]
|
||||
RewriteRule ^doku.php - [L]
|
||||
RewriteRule ^feed.php - [L]
|
||||
RewriteRule ^_media/(.*) lib/exe/fetch.php?media=$1 [QSA,L]
|
||||
RewriteRule ^_detail/(.*) lib/exe/detail.php?media=$1 [QSA,L]
|
||||
RewriteRule ^_export/([^/]+)/(.*) doku.php?do=export_$1&id=$2 [QSA,L]
|
||||
RewriteRule ^$ doku.php [L]
|
||||
RewriteRule (.*) doku.php?id=$1 [QSA,L]
|
||||
</IfModule>
|
||||
</Directory>
|
||||
|
||||
<Directory /srv/fusiondirectory>
|
||||
# include /etc/fusiondirectory/fusiondirectory.secrets
|
||||
<Directory /usr/share/dokuwiki/bin/>
|
||||
Require all denied
|
||||
</Directory>
|
||||
|
||||
<Directory /usr/share/fusiondirectory/html/>
|
||||
Options FollowSymLinks
|
||||
AllowOverride None
|
||||
Require all granted
|
||||
AddType application/wasm .wasm
|
||||
|
||||
AddType application/wasm .wasm
|
||||
|
||||
IncludeOptional /etc/fusiondirectory/fusiondirectory.secrets
|
||||
</Directory>
|
||||
|
||||
<Directory /usr/share/javascript/>
|
||||
Options FollowSymLinks
|
||||
AllowOverride None
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
<Directory /usr/share/phpldapadmin/htdocs/>
|
||||
Options FollowSymlinks
|
||||
AllowOverride None
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
<VirtualHost 5.101.171.215:80 [2a01:a500:2981:1::d7]:80>
|
||||
ServerName core.slackware.uk.net
|
||||
|
||||
|
|
@ -38,7 +69,20 @@
|
|||
|
||||
DocumentRoot /data/sites/core.slackware.uk.net/html
|
||||
|
||||
Alias /fd /srv/fusiondirectory/html
|
||||
Alias /pla /srv/pla
|
||||
Alias /fd /usr/share/fusiondirectory/html
|
||||
Alias /javascript /usr/share/javascript
|
||||
Alias /pla /usr/share/phpldapadmin/htdocs
|
||||
Alias /wiki /usr/share/dokuwiki/
|
||||
AliasMatch ^/wiki/sites/[^/]+$ /usr/share/dokuwiki/
|
||||
AliasMatch ^/wiki/sites/[^/]+/(.*)$ /usr/share/dokuwiki/$1
|
||||
|
||||
<Proxy *>
|
||||
Require all granted
|
||||
</Proxy>
|
||||
# Dot NOT add backslashes to the end of the urls.
|
||||
ProxyPass /prometheus http://127.0.0.1:9090
|
||||
ProxyPassReverse /prometheus http://127.0.0.1:9090
|
||||
ProxyPass /ts http://127.0.0.1:9200
|
||||
ProxyPassReverse /ts http://127.0.0.1:9200
|
||||
</VirtualHost>
|
||||
</IfModule>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue