summaryrefslogtreecommitdiff
path: root/apache2/conf.d
diff options
context:
space:
mode:
authorroot <root@mail.bitbase.dk>2010-02-01 21:33:52 +0100
committerroot <root@mail.bitbase.dk>2010-02-01 21:33:52 +0100
commit46a9e97a79fc4544cea1cb08d24e4fabb65ddc14 (patch)
tree0ecaede983d77402fb6502607b6c4e5e29dff4e4 /apache2/conf.d
parent3df63c9ab265430b11b3a136f06433f512d8c40c (diff)
parent4d2b841cfed596f80fe9241e0e3106f1deb46a6d (diff)
Merge branch 'master' of git://source.jones.dk/local-COMMON
Diffstat (limited to 'apache2/conf.d')
-rw-r--r--apache2/conf.d/local-jabber.conf33
1 files changed, 33 insertions, 0 deletions
diff --git a/apache2/conf.d/local-jabber.conf b/apache2/conf.d/local-jabber.conf
new file mode 100644
index 0000000..5be914d
--- /dev/null
+++ b/apache2/conf.d/local-jabber.conf
@@ -0,0 +1,33 @@
+<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
+
+ # Define the character set for proxied FTP directory listings
+ ProxyFtpDirCharset UTF-8
+</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]