LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-22-2002, 02:02 PM   #1
kires
LQ Newbie
 
Registered: Dec 2000
Location: South Florida
Distribution: Ubuntu
Posts: 9

Rep: Reputation: 0
seperate apache, port forwarding


I've got a colo'd box, and my own copy of Apache set up. (i wanted it to do stuff the admins didn't like, so we decided that the best way was to have my own instance of Apache running as my userid. they get their security, I get my configurations -everybody's happy.) anyway, mine is configured to listen on port 8080. The other "main" instance of Apache listens on port 80, as it should. What I'm trying to do is have their Apache redirect (or rewrite, even better) requests for my domains to port 8080, so my Apache will pick them up, and treat them accordingly. (both instances are using virtual hosts) This is really simple, I know, but it's just that one #^$*!! detail that I can't seem to find anywhere I've looked. (apache.org, and some others) Someone's got to know this one.
 
Old 04-23-2002, 10:37 PM   #2
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Another option is set up a virtual machine, possibly with a separate IP address.

http://user-mode-linux.sourceforge.net/
 
Old 04-24-2002, 12:37 AM   #3
kires
LQ Newbie
 
Registered: Dec 2000
Location: South Florida
Distribution: Ubuntu
Posts: 9

Original Poster
Rep: Reputation: 0
found it

Thanks for your idea, but there's no way they'd change the kernel for me. I did finally figure out how. FYI, it's 2 lines in the httpd.conf file:

RewriteEngine on

RewriteRule ^/(.*) http://www.blackcollarlunch.com:8080/$1 [L,R]
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
port forwarding apache from 80 to 8080 chess Linux - General 11 09-27-2005 02:21 PM
Port Forwarding for Apache IlyaZ Linux - Networking 14 05-15-2005 04:41 AM
Help with apache server dir and port forwarding leemoreau Linux - Software 13 03-25-2005 09:56 AM
port forwarding problem using netgear dg814 and apache tommo_a Linux - Networking 0 10-16-2003 08:46 AM
Port forwarding just isnt working... Apache / xinetd Please help! liquidskin Linux - Networking 3 09-09-2003 04:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:23 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