IIS and Clean URLs - No good

Author Message

Isaac Schlueter

Wednesday 17 March 2004 9:26:50 pm

IIS doesn't seem to like the index.php/blog style of URLs. These URLs all go to the same place:
http://localhost/index.php/blog
http://localhost/index.php?/blog
http://localhost/index.php/blog_admin
http://localhost/index.php?/blog_admin
http://localhost/index.php/?blog_admin
http://localhost/index.php/foo/bar

Over at http://ez.no/community/forum/install_configuration/installing_ez_publish_version_31_demo_site_on_win2k_iis it looks like there's a bunch of setup instructions for IIS. I followed those, but the URLs are still no good - index.php/whatever still goes to the same place as index.php. (Thinking I must have missed something, I started over, and didn't follow those instructions, just followed the standard manual instructions. Didn't work. Tried those again. Nope.)

I looked in the php.ini file, and set this:
cgi.fix_pathinfo=1
No change at all. (The comments there say that it's for cgi, not regular scripting, so I didn't really hold out much hope of that working.)

Does anyone know of a setting or something that I'm missing? Any help would be great.

Is there anyone out there who actually runs ezPublish in an IIS environment? If so, please let me know. Even if you can't tell me how you got it to work, I'd like to know that it's possible before I dump any more time into trying to solve this puzzle.

How hard would it be to just use the good old fashioned ?s and &s? It's not as pretty, but it would be much easier to set up IIS if that was an option. (Of course, I understand if this might just be too much work to enable at this point.)

(BTW, it works fine in Apache, and I really wish I could just use that. But Apache and IIS can't both monopolize port 80, and we've some other stuff that only runs in IIS and is mission-critical.)

If IIS isn't supported, it would be a great feature to have the first page of the installer say:
"Warning - you are running IIS and not Apache. You are going to tear all your hair out. Stop now and get a different CMS. EzPublish is Apache only. Thank you."

Thanks :)

Isaac Z. Schlueter
http://isaac.beigetower.org

Isaac Schlueter

Thursday 18 March 2004 3:37:16 pm

I found some information on this at these sites:
http://kalsey.com/2002/03/mod_rewrite_for_iis/
http://www.pedrovera.com/articles.241.php
http://www.iismods.com/url-rewrite/index.htm
http://www.jdhodges.com/log/1309

Anyone else with this problem should check those out.

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 19 2025 04:16:34
Script start
Timing: Jan 19 2025 04:16:34
Module start 'layout'
Timing: Jan 19 2025 04:16:34
Module start 'content'
Timing: Jan 19 2025 04:16:35
Module end 'content'
Timing: Jan 19 2025 04:16:35
Script end

Main resources:

Total runtime1.1289 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 589.2734152.6406
Module start 'layout' 0.00680.0028 741.914139.4609
Module start 'content' 0.00961.1182 781.3750432.0000
Module end 'content' 1.12780.0011 1,213.37508.1641
Script end 1.1289  1,221.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2808160.0002
Check MTime0.00130.1193160.0001
Mysql Total
Database connection0.00120.102210.0012
Mysqli_queries1.083395.9585520.0208
Looping result0.00050.0487500.0000
Template Total1.090996.620.5455
Template load0.00220.198120.0011
Template processing1.088796.432620.5443
Template load and register function0.00010.011310.0001
states
state_id_array0.00210.186210.0021
state_identifier_array0.00200.174220.0010
Override
Cache load0.00180.1626300.0001
Sytem overhead
Fetch class attribute can translate value0.00060.048810.0006
Fetch class attribute name0.00120.105120.0006
XML
Image XML parsing0.00010.008610.0001
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00150.1314100.0001
String conversion0.00000.000540.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs