httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Mark <jonathansam...@yahoo.com>
Subject [users@httpd] Adding "Listen 80" Breaks "Listen 9080"
Date Mon, 18 Feb 2008 14:51:54 GMT
The following rewrites the way it is supposed to. Visitors to port 9080 are sent to yahoo.com:

Listen 9080
#Listen 80
LoadModule rewrite_module modules/mod_rewrite.so
<VirtualHost *:9080>
RewriteEngine ON
RewriteRule "^/(.*)" http://yahoo.com
</VirtualHost>

However, uncommenting "Listen 80" breaks "Listen 9080". When Apache listens on both ports
visitors to port 9080 get an "unable to connect" error.

How can I listen on ports 80 and 9080 at the same time?  

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message