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.