* (no subject)
@ 2005-03-03 6:41 Pmishra
2005-03-03 13:43 ` Michael Tautschnig
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Pmishra @ 2005-03-03 6:41 UTC (permalink / raw)
To: netfilter
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 ?
Please give me some some technical procedure and help me understand
Thanks
Pradeep
The information contained in this electronic mail transmission may be
privileged and confidential, and therefore, protected from disclosure. If
you have received this communication in error, please notify us immediately
by replying to this message and deleting it from your computer without
copying or disclosing it.
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: (no subject)
2005-03-03 6:41 (no subject) Pmishra
@ 2005-03-03 13:43 ` Michael Tautschnig
2005-03-03 16:32 ` HTTP Redirection WAS: " Jason Opperisano
2005-03-03 17:17 ` Daniel Lopes
2 siblings, 0 replies; 4+ messages in thread
From: Michael Tautschnig @ 2005-03-03 13:43 UTC (permalink / raw)
To: Pmishra; +Cc: netfilter
> 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 ?
Well, what is the "hint", sent by the client?
Thanks,
Michael
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: HTTP Redirection WAS: (no subject)
2005-03-03 6:41 (no subject) Pmishra
2005-03-03 13:43 ` Michael Tautschnig
@ 2005-03-03 16:32 ` Jason Opperisano
2005-03-03 17:17 ` Daniel Lopes
2 siblings, 0 replies; 4+ messages in thread
From: Jason Opperisano @ 2005-03-03 16:32 UTC (permalink / raw)
To: netfilter
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
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: (no subject)
2005-03-03 6:41 (no subject) Pmishra
2005-03-03 13:43 ` Michael Tautschnig
2005-03-03 16:32 ` HTTP Redirection WAS: " Jason Opperisano
@ 2005-03-03 17:17 ` Daniel Lopes
2 siblings, 0 replies; 4+ messages in thread
From: Daniel Lopes @ 2005-03-03 17:17 UTC (permalink / raw)
To: netfilter
Pmishra@in.safenet-inc.com schrieb:
> 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 ?
>
> Please give me some some technical procedure and help me understand
>
> Thanks
> Pradeep
>
> The information contained in this electronic mail transmission may be
> privileged and confidential, and therefore, protected from disclosure. If
> you have received this communication in error, please notify us immediately
> by replying to this message and deleting it from your computer without
> copying or disclosing it.
>
>
>
If you have only one webserver serving more than one domain, it´s usual
to use the Apache and it´s named virtual hosting capabilities, as it is
used by alot of hosting providers. Then the Apache looks at the client
header and serves the request from the DocumentRoot of the domain requested.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-03-03 17:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-03 6:41 (no subject) Pmishra
2005-03-03 13:43 ` Michael Tautschnig
2005-03-03 16:32 ` HTTP Redirection WAS: " Jason Opperisano
2005-03-03 17:17 ` Daniel Lopes
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.