Adding "Listen 80" Breaks "Listen 9080"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux