Forums / Install & configuration / virtualhost settings on a double ip server

virtualhost settings on a double ip server

Author Message

Alessandro Cipriani

Monday 18 October 2004 3:45:01 am

hi all
i'm working on a server with 2 ip's. IIS is already running on the first ip (== port 80 ==), and i'd like to configure apache to run on the second ip (== port 80 ==)
in this way i'll have two servers on the same machine listening on different ip's but either on the 80 port without any conflict.

this is my http.conf virtualhost configuration:

<VirtualHost 192.168.1.190:80>
<Directory "C:\programmi\ezpublish\ezpublish">
Options FollowSymLinks
AllowOverride None
</Directory>

#RewriteEngine On
# Use one of the rewriterules below:
# eZ publish 3.0 - 3.3.x:
#RewriteRule !(^/design|^/var/.*/storage|^/var/storage|^/var/.*/cache|^/var/cache|^/extension/.*/design|^/kernel/setup/packages).*\.(gif|css|jpg|png|jar|js|ico|pdf|swf)$ /index.php

# eZ publish 3.4.x :
#RewriteRule !(^/design|^/var/.*/storage|^/var/storage|^/var/.*/cache|^/var/cache|^/extension/.*/design|^/kernel/setup/packages|^/packages|^/share/icons).*\.(gif|css|jpg|png|jar|js|ico|pdf|swf)$ /index.php

DocumentRoot "C:\programmi\ezpublish\ezpublish"
ServerName 192.168.1.190
ServerAlias 192.168.1.190
</VirtualHost>

the problem is that i get apache listening either on ip 190 (ok) and 55 (the iis ip!!)

any hint?

best regards
alessandro

Norman Leutner

Monday 18 October 2004 6:10:56 am

First you should deactivate the IIS and try if your apache
only listens on IP 192.168.1.190 and not on 192.168.1.55

IF your apache is listening to all IP`s, edit our httpd.conf and check the Ports ans IP`s:
replace line:

Listen 80

with

Listen 192.168.1.190:80

Then start your IIS on configure it to listen on IP 192.168.1.55 only.
That should solve your problem.

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh