summaryrefslogtreecommitdiff
path: root/apache2
diff options
context:
space:
mode:
Diffstat (limited to 'apache2')
-rw-r--r--apache2/conf-available/local-jabber.conf30
1 files changed, 30 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..f564abb
--- /dev/null
+++ b/apache2/conf-available/local-jabber.conf
@@ -0,0 +1,30 @@
+<Location />
+ Options MultiViews
+ DirectoryIndex index
+</Location>
+AddLanguage da .da
+
+AddDefaultCharset on
+AddDefaultCharset UTF-8
+
+# prevent the webserver from beeing used as proxy
+<LocationMatch "^[^/]">
+ Deny from all
+</LocationMatch>
+
+<Proxy *>
+ AddDefaultCharset off
+ Order deny,allow
+# Deny from all
+ Allow from all
+</Proxy>
+
+<ProxyMatch http://localhost:5280/.*>
+ Order deny,allow
+ Allow from all
+</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]