Networking Forums

Networking Forums > Computer Networking > Linux Networking > Apache and multiple listening ports

Reply
Thread Tools Display Modes

Apache and multiple listening ports

 
 
Jake
Guest
Posts: n/a

 
      01-14-2006, 08:18 PM
Can Apache be configured to listen on multiple ports and serve
different pages based on which port the request was received on? (i.e.
could you run a regular web page on port 80 and then a configuration
page for the server on port 8080?)

 
Reply With Quote
 
 
 
 
Dan C
Guest
Posts: n/a

 
      01-14-2006, 09:07 PM
On Sat, 14 Jan 2006 13:18:37 -0800, Jake wrote:

> Can Apache be configured to listen on multiple ports and serve
> different pages based on which port the request was received on? (i.e.
> could you run a regular web page on port 80 and then a configuration
> page for the server on port 8080?)


Yes.

--
If you're not on the edge, you're taking up too much space.
Linux Registered User #327951

 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      01-14-2006, 09:14 PM
In comp.os.linux.networking Jake <(E-Mail Removed)>:
> Can Apache be configured to listen on multiple ports and serve
> different pages based on which port the request was received on? (i.e.
> could you run a regular web page on port 80 and then a configuration
> page for the server on port 8080?)


Some apache related ng would be probably better suited then coln.
To answer your question: Yep, simply setup some virtual host to
listen on the specified port. See apache docs on how to go about
it.

Good luck

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 255: Standing room only on the bus.
 
Reply With Quote
 
Jake
Guest
Posts: n/a

 
      01-16-2006, 01:01 AM
Thanks for the help!

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Listening on many ports on Linux mowaiskhan@gmail.com Linux Networking 4 11-07-2007 09:16 PM
Services listening on all ports? tshad Windows Networking 10 01-22-2007 10:26 PM
portqry - ports NOT LISTENING Felix Windows Networking 0 02-04-2006 11:22 PM
Listening ports =?Utf-8?B?U2NvdHRS?= Windows Networking 0 04-20-2005 07:46 PM
Apache - No listening socket... =?Utf-8?B?RWxqb2pv?= Windows Networking 0 02-22-2004 12:31 PM



1 2 3 4 5 6 7 8 9 10 11