[ejabberd] apache proxy web_admin

Eric Cestari eric at ohmforce.com
Thu Sep 13 19:46:34 MSD 2007


Jesse,

If you want to get rid of the /admin part, mod_rewrite can indeed do  
the trick.

RewriteEngine On
RewriteRule ^/(.*)$ /admin/$1 [P]

Regards,
	Eric
Le 13 sept. 07 à 16:39, Jesse Thompson a écrit :

> I'm setting up the web_admin behind mod_proxy on apache.  This  
> works just fine, but I don't want it rooted at /admin
>
>     ProxyPass /admin/ http://<ip>:5280/admin/
>     ProxyPassReverse /admin/ http://<ip>:5280/admin/
>
>
> This works, but the URLs are all defined at the /admin root, not  
> relative.
>
>     ProxyPass /chat-admin/ http://<ip>:5280/admin/
>     ProxyPassReverse /chat-admin/ http://<ip>:5280/admin/
>
>
> Is there a way to fix this using apache (mod_rewrite perhaps) or by  
> changing something in the ejabberd configuration?
>
> Thanks,
> Jesse
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd



More information about the ejabberd mailing list