diff options
author | Jonas Smedegaard <dr@jones.dk> | 2015-11-16 15:37:19 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2015-11-16 15:37:19 +0100 |
commit | 8b0173fdd757c6b74b0f19b01297c128f2659a5e (patch) | |
tree | 23c0c1047315b837cd6322e5749163fbf012403e /apache2 | |
parent | 7170982d4684cc3a3d946617471f4a7192d27ea3 (diff) |
Migrate jabber snippet to Jessie Apache2.4 syntax.
Diffstat (limited to 'apache2')
-rw-r--r-- | apache2/conf-available/local-jabber.conf | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/apache2/conf-available/local-jabber.conf b/apache2/conf-available/local-jabber.conf new file mode 100644 index 0000000..41226e1 --- /dev/null +++ b/apache2/conf-available/local-jabber.conf @@ -0,0 +1,28 @@ +<Location /> + Options MultiViews + DirectoryIndex index +</Location> +AddLanguage da .da + +AddDefaultCharset on +AddDefaultCharset UTF-8 + +# prevent the webserver from beeing used as proxy +<LocationMatch "^[^/]"> + Require all denied +</LocationMatch> + +<Proxy *> + AddDefaultCharset off +# Require all denied + Require all granted +</Proxy> + +<ProxyMatch http://localhost:5280/.*> + Require all granted +</ProxyMatch> + +RewriteEngine On +RewriteRule ^/http-bind/ http://127.0.0.1:5280/http-bind/ [P] +RewriteRule ^/http-poll/ http://127.0.0.1:5280/http-poll/ [P] +RewriteRule ^/admin/ http://127.0.0.1:5280/admin/ [P] |