[ejabberd] apache proxy web_admin

Alexandre LISSY alexandrelissy at free.fr
Thu Sep 13 21:29:25 MSD 2007


I Think that a simple

RewriteURL ^/admin(.*) /chat-admin$1 [L,P] might do the trick, without the 
need of changing links directly with some mod_proxy_html.

Le jeudi 13 septembre 2007, Jesse Thompson a écrit :
> Hmm, that didn't seem to do anything.  Will that actually change the
> links generated by the web_admin?
>
> I think I might need to use mod_proxy_html to do this.
>
> Jesse
>
> Eric Cestari wrote:
> > 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
> >
> > _______________________________________________
> > ejabberd mailing list
> > ejabberd at jabber.ru
> > http://lists.jabber.ru/mailman/listinfo/ejabberd


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.jabber.ru/pipermail/ejabberd/attachments/20070913/dfc59cc3/attachment-0001.pgp 


More information about the ejabberd mailing list