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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 22:24:34
Script start
Timing: Jan 30 2025 22:24:34
Module start 'layout'
Timing: Jan 30 2025 22:24:34
Module start 'content'
Timing: Jan 30 2025 22:24:35
Module end 'content'
Timing: Jan 30 2025 22:24:35
Script end

Main resources:

Total runtime1.0173 sec
Peak memory usage8,192.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 588.3828151.2422
Module start 'layout' 0.00450.0038 739.6250220.7344
Module start 'content' 0.00841.0081 960.35944,451.2109
Module end 'content' 1.01650.0008 5,411.570311.8125
Script end 1.0173  5,423.3828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3551160.0002
Check MTime0.00130.1324160.0001
Mysql Total
Database connection0.00060.063510.0006
Mysqli_queries0.924190.8391540.0171
Looping result0.00060.0564520.0000
Template Total0.958994.320.4794
Template load0.00210.205320.0010
Template processing0.956894.050420.4784
Template load and register function0.00120.119910.0012
states
state_id_array0.00270.262810.0027
state_identifier_array0.00120.119720.0006
Override
Cache load0.00180.1733380.0000
Sytem overhead
Fetch class attribute can translate value0.00180.179620.0009
Fetch class attribute name0.00220.216940.0006
XML
Image XML parsing0.00260.252920.0013
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00450.4423230.0002
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 27
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs