[users@httpd] redirect request to two different server

2013-07-18 Thread Clark, Kim
I have a situation where site.domain.com needs to be directed to server1, but request for site.domain.com/* needs to be redirected to server2 I am new to apache and any ideas or suggestions to get me started would be greatly appreciated. [CWT2] Kim Clark | Sr. Technical Analyst, Technology

RE: [users@httpd] redirect based on internal or external IP

2013-07-03 Thread Clark, Kim
ake sure that the target path is not there, eg RewriteCond %{REMOTE_ADDR} ^1.1.1.1 RewriteCond %{REQUEST_URI} !^/internal RewriteRule ^(.*)$ www.site.com/internal<http://www.site.com/internal> [R=301,L] A Aaron Macks ama...@harvardbusiness.org<mailto:ama...@harvardbusiness.org

[users@httpd] redirect based on internal or external IP

2013-07-01 Thread Clark, Kim
I am new to apache, so forgive me if this is a beginner questions. I am trying to redirect request to apache based on the IP address. Depending on where the request originates from, the request will either have a external or internal IP address. External will be redirected to the external site