Pretty URL error {index.php/..index.php///home}

Permalink
I have C5 on an IIS server with mod_rewrite conditions permitted and a .htaccess files, as follows

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase 
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>


however i get a 404 response {not found}, and the following code in the logs:

"GET /index.php/index.php/index.php
/index.php/index.php/home - 80 - "

indicating thathttp://www.[MYSITE].co.uk/home, is calling "/index.php/index.php/index.php
/index.php/index.php/home" ?

Any ideas?

Kind Regards,

Joe

JoeGlasgow
 
JoeGlasgow replied on at Permalink Reply
JoeGlasgow
After configuring the 'Additional URLs in SiteMap'

I get

"403 Forbidden: Access is denied"

Grrr...

lol

Joe
jizzle replied on at Permalink Reply
jizzle
IIS doesn't use .htaccess files. Only Apache does.

Here's the c5 guide for IIS:http://www.concrete5.org/index.php?cID=8312...
JoeGlasgow replied on at Permalink Reply
JoeGlasgow
Hey there,

Yes I know that IIS does not write apache, however the server (IIS7) runs an extension which allows mod_rewrite to be understood and work like apache on IIS 7,

http://learn.iis.net/page.aspx/470/import-apache-modrewrite-rules/...

therefore it should work.

regards,

Joe
JoeGlasgow replied on at Permalink Reply
JoeGlasgow
furthermore,

from my host:

"Can I use .htaccess files on my Windows hosting account?

Yes but it can only be used with rewrite rules and any other entries in the .htaccess file are likely to break your site."
jizzle replied on at Permalink Reply
jizzle
Thanks for schooling me on the extension. I'm kinda interested in this for myself now!