Dear all, I need to configure Apache to listen on two ports. One is the official HTTP port (default == 80) and the second is for testing purposes (for example: 81). Do I need to create another httpd process pointing to a secondary httpd.conf file? Ant hints are welcomed! Thanks a lot in advance! Martin
just add a vhost to listen on that port, look in the /etc/httpd/httpd.conf file for a section on virtualhost. Martin Mielke wrote:
Dear all,
I need to configure Apache to listen on two ports. One is the official HTTP port (default == 80) and the second is for testing purposes (for example: 81). Do I need to create another httpd process pointing to a secondary httpd.conf file?
Ant hints are welcomed! Thanks a lot in advance!
Martin
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
-- Carl Johnson cjs@mcn.net cjohnson@cj-solutions.com |_| |_| | |\/--- | |\ | | | \/ | NIKE | | | \| |__| /\ |______| _______________ ____ | OH SHIT IT's | |..| --| LINUX!!! | |__| |_______________| |\/| icro$oft "Watch Linux walk all over Micro$oft" | | /||\ /\
Not unless the second site has significantly different configuration.
Add a "Listen localhost:81" line to the httpd.conf file. You can use
this for a second virtual host by enclosing a bunch directives for the
test host inside <VirtualHost _default_:81> ... </VirtualHost> pair.
HTH,
Jeffrey
Quoting Martin Mielke
Dear all,
I need to configure Apache to listen on two ports. One is the official HTTP port (default == 80) and the second is for testing purposes (for example: 81). Do I need to create another httpd process pointing to a secondary httpd.conf file?
Ant hints are welcomed! Thanks a lot in advance!
Martin
participants (3)
-
Carl Johnson
-
Jeffrey Taylor
-
Martin Mielke