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 AllowOverride All
</Directory> </Directory>

View file

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

View file

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