Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-21-2008, 03:48 PM   #1
LQ Newbie
Registered: Sep 2008
Posts: 3

Rep: Reputation: 0
Redirecting apache2 http requests to internal ip

I have a apache2 server that is setup for external http requests. The server has server virtual hosts running on it.

I want to redirect external traffic from to an internal apache2 server I have tried:

<VirutalHost *:80>
RewriteEngine On
RewriteRule ^(.*)$$1 [P]

But i keep on getting 403 forbidden. Is there something else I can try?
Old 09-21-2008, 03:59 PM   #2
LQ Newbie
Registered: Sep 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Nevermind. I just got it working with proxies. Im not sure how secure it is but i did this instead:

<VirutalHost *:80>
ProxyPass /
ProxyPassReverse /
ProxyPreserveHost On


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
redirecting https web page to http internal website baboow Linux - Server 2 12-17-2007 09:27 AM
automating http requests Murdock1979 Programming 5 12-03-2007 10:14 AM
monodoc-http gives a http 500 internal server error ernesto_cgf Linux - Software 0 05-10-2007 04:48 PM
redirecting http server xowl Linux - Networking 3 06-18-2005 05:25 AM
Help! (I'm getting flooded with http requests) rknoesel Mandriva 6 11-14-2004 06:57 PM

All times are GMT -5. The time now is 07:35 PM.

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