Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th February 2007, 21:26
GSMD GSMD is offline
Junior Member
 
Join Date: Nov 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default mod_rewrite for rewriting proxied path

I've installed monit and proxied it to run behind apache:
Code:
<Location /monit>
        ProxyPass http://localhost:2812
        ProxyPassReverse http://localhost:2812
</Location>
So what I get now is that links in monit look like http://myhost/link instead of http://myhost/monit/link. I guess mod_rewrite could help in this case, yet after reading docs can't figure out what the rewrite rule should look like.
Could anyone please help?

Thanks.
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ark & PATH configuartion Genin Installation/Configuration 1 23rd November 2006 17:25
Strange Problem with PHP sessions path !!! lyndros Installation/Configuration 1 22nd March 2006 20:34
Viewing site path doesnt work. kingkunt General 3 10th December 2005 23:50
Warnings in ispconfig.log and path for apache problem. Pelle Installation/Configuration 7 17th October 2005 00:21


All times are GMT +2. The time now is 20:53.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.