Question : Apache Configure

OK, I am totally confused and really need your help.
I have Windows 2003 Server running Apache and PHP and I also have IIS running other websites with no issue.

If I run the apache on the default IP address (192.168.1.2) with port 89 my site runs and works with no issues. I change the IP address to 192.168.1.3 with port 89 restart the apache service and run my website all I get is the html. Non of the PHP headers and css is displayed.

Please help!

Answer : Apache Configure

I think there is conflict issue with IIS and Apache with port 89, you can't have two applications using the same port on the same IP address.
Make sure that port 89 is using only by Apache application.
Explanation:
When you configure IIS, you configure it to use one IP (ie. 192.168.100.101) and when you configure Apache, you configure it to use the other (ie.192.168.100.102).   You can run multiple websites on IIS/192.168.100.101 with host headers and multiple websites on Apache/192.168.100.102 with virtual hosts.  If you want to run multiple sites with individual IP's, just add more IP addresses to your NIC.

The two web servers are currently in conflict because "when you start Internet Information Services (IIS) 6.0 on Microsoft Windows Server 2003, IIS binds to all IP addresses on the server, not just the IP addresses that are assigned to Web sites" (I believe Apache does the same).  Therefore, you need to bind each server to its specific IP address so that it doesn't bind to all IP addresses, just the one you want it to.

Here's how to do it in Win2k3/IIS6:
http://support.microsoft.com/default.aspx?scid=kb;en-us;813368&Product=iis60

Here's how to do it in Apache 2.0:
http://httpd.apache.org/docs-2.0/bind.html
http://httpd.apache.org/docs-2.0/mod/mpm_common.html#listen
Random Solutions  
 
programming4us programming4us