diff options
author | root <root@homebase.dk> | 2009-12-25 14:55:28 +0100 |
---|---|---|
committer | root <root@homebase.dk> | 2009-12-25 14:55:28 +0100 |
commit | 4d2b841cfed596f80fe9241e0e3106f1deb46a6d (patch) | |
tree | a84d9955451564fb4a7b9ca0d76d306b80212662 | |
parent | 72f9bb5bc449d4c5bbe62fc9ae53941d0c1b5cdb (diff) |
Add apache jabber proxying config snippet.
-rw-r--r-- | apache2/conf.d/local-jabber.conf | 33 |
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] |