Re: Running Multiple Windows Services on port 8080

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

 



Okay, I figured out what I was doing wrong.  For the Listen Address, I only
had the port number.  Therefore, when I started the service it would
listening on port 8080 at any IP address the server had bound to it. "Stupid
Me"  When I changed it to be IP:port only the website that was configured in
the conf file ran.  Now I can create two new Windows services for the other
IP's and run them separately.

John


William A. Rowe, Jr. wrote:
> 
> jwberger wrote:
>> I am novice when it comes to Apache.  I have installed 2.2.9 on a Windows
>> 2003 server and can get it to run fine.  The server has one NIC with
>> three
>> IP addresses bound to it.  In installed Apache as a Windows service and
>> edited the httpd.conf file so that the server listened on port 8080.  I
>> would like each IP address to run a different site on port 8080 and I
>> would
>> like each site to have its own Windows service so that I can individually
>> shut down a site.  Is this possible?  It seems like if I start just one
>> service I can hit each IP at port 8080 and they all work.  Can you assist
>> me
>> in what I am doing wrong.
> 
> You seem to be getting quite a bit of incorrect advise, so I'll hint that
> you would need *three* httpd.conf files (different names) that have three
> different Listen directives (IP-address:8080), different log file names
> (accesslog and errorlog), and different pidfile directives.
> 
> Then, see
> 
> http://httpd.apache.org/docs/2.2/platform/windows.html#winsvc
> 
> 
> ---------------------------------------------------------------------
> 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Running-Multiple-Windows-Services-on-port-8080-tp19748920p19761131.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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