How would be able to set up a virtualhost method with IIS7

Author Message

Romeo Antony

Tuesday 10 August 2010 6:36:14 am

Hi, i have seen ez documentation about setting up virtualhost method in ez and by configuring apache. But anyone know how to set up virualhost using iis 7.

Romeo Antony

Tuesday 10 August 2010 8:24:51 am

Hi, I have developed an entire site in ez using uri method. But when i need to put into production environment , i would like to use virtualhost setup becuase of security issues. But I am using IIS7 , windows server 2008, php fast cgi.

I have seen how to set up virtual host using apache from documentation(in file http.conf).

But do not know how to set up a virtualhost for IIS. Can anyone help me please .Plz Romeo.

Robin Muilwijk

Tuesday 10 August 2010 11:10:08 am

Hi Romeo,

From what I can find, IIS does of course not have virtual hosts as on Linux, but something similar (serving several sites on one IP address) can be done with host headers. See http://www.visualwin.com/host-header/

Hope that link is of some value and can help you continue your live/online setup.

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Romeo Antony

Tuesday 10 August 2010 11:52:07 am

Thank you for your reply Robin. I got it. That means after I do this site will be like secure as it is in virtualhost setup,

Robin Muilwijk

Tuesday 10 August 2010 12:11:14 pm

I'm not sure how security compares, you might want to google on that.

-- Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Romeo Antony

Wednesday 11 August 2010 12:17:25 am

Thank you Robin. I will research on it. thanks a lot. Romeo.

André R.

Wednesday 11 August 2010 2:43:23 am

Did you find a soulution for rewrite rules? I guess this is what you should be asking for.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Romeo Antony

Wednesday 11 August 2010 4:42:49 am

Thank you for your reply Andre. I have read rewrite rules. But I am not well aware of it.

I have also gone through the link provided by Robin in above reply. it is about host headers . How to set up host headers in IIS 7. I got some basic knowledge about how to set up host headers in IIS7 within a single ip address. So I hope in this way I can set up a virtualhost in IIS 7. I have read a lot through the forums .But everywhere I seen about setting up virtual host in apache. Nwhere found about IIS.

But still I am confused about the way ez handle security that means after I use host headers , I think it will be like a virtualhost set up. isn't Andre.

My major concern is security with ez site. and it should be most secure . Can u please tell me should I prefer rewrite rules or host headers? And is there is big difference between both of these.

In ez poni of view , what would be better .

Any idea will be really helpfull. Romeo.

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 18 2025 04:15:14
Script start
Timing: Jan 18 2025 04:15:14
Module start 'layout'
Timing: Jan 18 2025 04:15:14
Module start 'content'
Timing: Jan 18 2025 04:15:15
Module end 'content'
Timing: Jan 18 2025 04:15:15
Script end

Main resources:

Total runtime0.8397 sec
Peak memory usage4,096.0000 KB
Database Queries75

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 589.3047152.6563
Module start 'layout' 0.00710.0047 741.960939.5078
Module start 'content' 0.01170.8264 781.4688649.7578
Module end 'content' 0.83810.0016 1,431.226620.0938
Script end 0.8397  1,451.3203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.5032160.0003
Check MTime0.00190.2291160.0001
Mysql Total
Database connection0.00110.125910.0011
Mysqli_queries0.762290.7738750.0102
Looping result0.00080.0989730.0000
Template Total0.794494.620.3972
Template load0.00220.267620.0011
Template processing0.792194.331720.3961
Template load and register function0.00010.010110.0001
states
state_id_array0.00180.217110.0018
state_identifier_array0.00210.248220.0010
Override
Cache load0.00200.2340380.0001
Sytem overhead
Fetch class attribute can translate value0.00130.155230.0004
Fetch class attribute name0.00200.2386110.0002
XML
Image XML parsing0.00160.191530.0005
class_abstraction
Instantiating content class attribute0.00000.0047160.0000
General
dbfile0.00150.1802310.0000
String conversion0.00000.001240.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
8content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 28
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs