LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-28-2007, 08:01 AM   #1
GSMD
Member
 
Registered: Dec 2005
Distribution: Gentoo
Posts: 87

Rep: Reputation: 16
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



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/etc/fstab rewriting itself? logosys Linux - Hardware 1 09-17-2005 09:08 PM
rewriting mesg GarroteYou Programming 1 05-16-2005 10:38 AM
xorg.conf rewriting itself? mooreted Mandriva 2 02-25-2005 09:13 AM
rewriting my files jsfour Slackware 9 12-03-2003 04:06 PM
mod_rewrite not rewriting urls chr15t0 Linux - General 1 11-09-2003 04:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration