[ejabberd] apache proxy web_admin

Jesse Thompson jesse.thompson at doit.wisc.edu
Thu Sep 13 21:13:35 MSD 2007


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: smime.p7s
Type: application/x-pkcs7-signature
Size: 3340 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.jabber.ru/pipermail/ejabberd/attachments/20070913/9d825381/attachment.bin 


More information about the ejabberd mailing list