[Cialug] (no subject)
jcbailey at code0.net
jcbailey at code0.net
Tue Jan 3 11:39:24 CST 2006
Sent this from bailj0 at bp.com, but apparently it never went through. No
bounce or anything else... Odd..
------------------------------------
Having some problems with mod_rewrite. I'm using it and proxy to make
monit available under a specific subdomain - here are the stanzas:
ProxyPass /monit/ http://localhost:2812/
RewriteEngine On
RewriteCond %{HTTP_REFERER} portal.code0.net/monit
RewriteCond %{REQUEST_URI} !^/monit
RewriteRule ^/(.*)$ http://portal.code0.net/monit/$1 [L,P]
It seems to work fine, but the URLs are not visibly rewritten in the
browser
Also, how would I modify the following stanza for ntop so it will
correctly rewrite /plugins to /ntop/plugins (everything else seems fine)
ProxyPass /ntop/ http://localhost:3000/
RewriteEngine On
RewriteCond %{HTTP_REFERER} portal.code0.net/ntop
RewriteCond %{REQUEST_URI} !^/ntop
RewriteRule ^/(.*)$ http://portal.code0.net/ntop/$1 [L,P]
Thanks!
More information about the Cialug
mailing list