Changed ejabberd rewrite proxy from /jabber/ to /bosh/

This commit is contained in:
Ossi Salmi 2012-07-31 19:42:31 +03:00
parent fb167b59d1
commit 97ca8107c0
3 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
<Directory "/srv/www/https/*/jabber">
<Directory "/srv/www/https/*/bosh">
AllowOverride All
</Directory>

View file

@ -1,4 +1,4 @@
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ http://localhost:5280/$1 [P]
RewriteRule ^(.*)$ http://localhost:5280/http-bind/$1 [P,L]
</IfModule>

View file

@ -151,7 +151,7 @@ class ejabberd {
$htdocs = "/usr/share/ejabberd/htdocs"
define configwebhost() {
file { "/srv/www/https/${name}/jabber":
file { "/srv/www/https/${name}/bosh":
ensure => link,
target => $htdocs,
require => File["/srv/www/https/${name}"],