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
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
<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
IIS doesn't use .htaccess files. Only Apache does.
Here's the c5 guide for IIS:http://www.concrete5.org/index.php?cID=8312...
Here's the c5 guide for IIS:http://www.concrete5.org/index.php?cID=8312...
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
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
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."
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."
Thanks for schooling me on the extension. I'm kinda interested in this for myself now!
I get
"403 Forbidden: Access is denied"
Grrr...
lol
Joe