Module rewrite links for iis

Author Message

Romeo Antony

Monday 23 August 2010 1:58:27 am

I am using IIS webserver for my ez configuartion. I would like to set up virtual host for iis. I need to understand how rewritting is done.

Can anyone suggest me a proper web link for module rewrite , so I can understand it better.

Any help will be appreciable

Romeo.

André R.

Tuesday 24 August 2010 4:27:16 am

The rewrite rules we provide in our docs are for Apache mod_rewrite module, it's doc is here:

http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html

There is a forum thread here somewhere on nginx setup that covers rewrite rules, and might be one for iis as well but iis just got proper fast cgi support (last year+/-) so wouldn't count on it as most people use *nix for prod setup since it just works and works best/fastest for ezp/php.

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

Gaetano Giunta

Tuesday 24 August 2010 7:43:44 am

If you're running iis6, get IIRF here: http://iirf.codeplex.com/

It has basically the same syntax as apache, so you should be fine.

For iis7 syntax, I guess you could open a feat. request in the eZP tracker, as we have no working example, afaik.

A thread with some info on iis6 setups is this one: http://share.ez.no/forums/install-configuration/running-ezpublish-4.x-on-ms-windows-2003-server-iis-6

For rewrite rules on iis7, just google for it, and you will find tutorials on how to configure them.

Ex: http://learn.iis.net/page.aspx/461/creating-rewrite-rules-for-the-url-rewrite-module/

Then open the standard .htaccess file that comes with eZP and convert existing rules one by one...

Principal Consultant International Business
Member of the Community Project Board

Romeo Antony

Wednesday 25 August 2010 2:41:38 am

Thank you Andre, Gaetano for your reply.

It is good to know that that syntax of IIS6 rewrite rules is almost same as apache as Gaetano said. But as far as using IIS7 , it will be really headache for me.

I have got some tutorials from google. I will try IIS7. if that not works I should consider IIS6 . I think that would be a good idea from Gaetano.

Thanks a lot Andre, Gaetano.

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

Main resources:

Total runtime0.9736 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 587.9141152.6250
Module start 'layout' 0.00710.0027 740.539139.4453
Module start 'content' 0.00970.9625 779.9844598.6172
Module end 'content' 0.97220.0013 1,378.601612.1641
Script end 0.9735  1,390.7656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3218160.0002
Check MTime0.00130.1346160.0001
Mysql Total
Database connection0.00120.128110.0012
Mysqli_queries0.920994.5922630.0146
Looping result0.00050.0509610.0000
Template Total0.943496.920.4717
Template load0.00210.215320.0010
Template processing0.941396.690820.4707
Template load and register function0.00010.009610.0001
states
state_id_array0.00100.103710.0010
state_identifier_array0.00050.054020.0003
Override
Cache load0.00180.1852290.0001
Sytem overhead
Fetch class attribute can translate value0.00040.042330.0001
Fetch class attribute name0.00100.101670.0001
XML
Image XML parsing0.00160.168930.0005
class_abstraction
Instantiating content class attribute0.00000.001580.0000
General
dbfile0.00120.1199290.0000
String conversion0.00000.000740.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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/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: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs