Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-20-2006, 10:29 AM   PM User | #1
sir pannels
Regular Coder

 
Join Date: Jun 2002
Posts: 905
Thanks: 23
Thanked 5 Times in 5 Posts
sir pannels is an unknown quantity at this point
mod rewrite question

Morning

Hey just wonding, have requests coming into an apache web server on on an ippaddress, not a domain ... I was going to use mod_rewrite to forward most of the traffic on to an external server (another ip address) straight away.

For instance ... http://xxx.xxx.xxx.xxx/?id=xx will be redirected to http://x1x.x1x.x1x.x1x/?id=xx
I figured mod_rewrite is the easiest way, an I correct? and mod rewrite does not have a problem redirecting/masking external IP's, does it?

any advice, would be great.
thanks
p
sir pannels is offline   Reply With Quote
Old 03-20-2006, 04:51 PM   PM User | #2
hyperbole
Regular Coder

 
Join Date: Sep 2005
Location: Madison, Indiana, USA
Posts: 166
Thanks: 0
Thanked 0 Times in 0 Posts
hyperbole is an unknown quantity at this point
Yes it sounds as if mod_rewrite would be the best way to solve your problem.

Mod_rewrite can handle re-directs to external IPs.

Take a look at Apache's mod_rewrite documentation for more information on how this works. If you get stuck, ask some more questions here.



.
hyperbole is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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


All times are GMT +1. The time now is 09:43 PM.


Advertisement
Log in to turn off these ads.