Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Jason Opperisano <opie@817west.com>
To: netfilter@lists.netfilter.org
Subject: Re: HTTP Redirection WAS: (no subject)
Date: Thu, 3 Mar 2005 11:32:15 -0500	[thread overview]
Message-ID: <20050303163215.GA5439@bender.817west.com> (raw)
In-Reply-To: <20686C579479DC438276A726FE80CDAA0294C777@INEXCH1>

On Thu, Mar 03, 2005 at 12:11:22PM +0530, Pmishra@in.safenet-inc.com wrote:
> 
> Hi Team,
> My requirement is Use SingleIP and different port with different web based
> application .
> Requirement :-
> 1.Access all the request from client with PORT 80.
> 2.Check the socket filter or net filet and forward different port as per
> hint send by client.
> Is it possible in Linux ?

REDIRECT all incoming TCP port 80 traffic to apache+mod_rewrite and
rewrite based on the HOST: Header request.

if all the web sites run on the same server, you could also simply do
name-based virtual hosting (this also utilizes the HOST: Header,
btw--see a pattern yet?).

there are roughly 8 million examples of how to do each of the above
available on the 'net.

-j

--
"Lisa, if you don't like your job you don't strike. You just go in
 there every day and do it really half-assed. That's  the American way."
        --The Simpsons


  parent reply	other threads:[~2005-03-03 16:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-03  6:41 (no subject) Pmishra
2005-03-03 13:43 ` Michael Tautschnig
2005-03-03 16:32 ` Jason Opperisano [this message]
2005-03-03 17:17 ` Daniel Lopes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050303163215.GA5439@bender.817west.com \
    --to=opie@817west.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox