URL rewrite (mod_rewrite) with IIS?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Vince-E
Posts: 19
Joined: Mon 7. Feb 2005, 17:27

URL rewrite (mod_rewrite) with IIS?

Post by Vince-E »

I am searching for a while about this URL rewrite. Also tried the steps to be taken (rename .htaccess), changed some info so it would work with subdir. And also changed $phpwcms["rewrite_url"] = 1; in conf.inc.php

However, it won´t work. For example. If I click on disclaimer link, I get the URL http://localhost/wcms/Disclaimer.phtml (so somethings changed there, right?) Though I get all the time a "Page can not be found" error.

does this have anything to do with that I am using IIS instead of Apache? Because "mod_rewrite" is Apache only as far as I could find...

Is there any way to get this thing working under IIS ?

thnx!
brans

Post by brans »

no mod_rewrite is an apache module and therefore only works with apache... a very simple solution would be to replace your IIS with some package from http://www.apachefriends.org ... ;-)
Vince-E
Posts: 19
Joined: Mon 7. Feb 2005, 17:27

Post by Vince-E »

hahahah, that is exactly what I didnt want to hear! :D
Changing to Apache is not really what I prefer. But the good thing is that my host will have Apache, so it´s only a localhost problem... SE´s wont look there anyhow ;)
Post Reply