Zend Htaccess setting for IIS 6

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 1
Joined: 06 Jul 2012, 13:45

Zend Htaccess setting for IIS 6

06 Jul 2012, 13:52

Hi,
Just follow some instruction but get some bugs.

Code: Select all
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-s
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule !\.(js|ico|txt|gif|jpg|png|css)$ index.php [L]


log
Code: Select all
(2) init rewrite engine with requested uri /quote
(1) Htaccess process request C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
(1) Htaccess process request c:\inetpub\wwwroot\quotation\www\public\.htaccess
(3) applying pattern '^.*$' to uri 'quote'
(4) RewriteCond: input='C:/Inetpub/wwwroot/quotation/www/public/quote' pattern='-s' => not-matched
(4) RewriteCond: input='C:/Inetpub/wwwroot/quotation/www/public/quote' pattern='' => not-matched
(4) RewriteCond: input='C:/Inetpub/wwwroot/quotation/www/public/quote' pattern='-d' => not-matched
(3) applying pattern '^.*$' to uri 'quote'
(1) Rewrite URL to >> /index.php
(2) rewrite 'quote' -> '/index.php'
(2) internal redirect with /index.php [INTERNAL REDIRECT]


Before works well.

Before
Code: Select all
 (2) init rewrite engine with requested uri /index.php/quote
 (1) Htaccess process request C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
 (1) Htaccess process request c:\inetpub\wwwroot\quotation\www\public\.htaccess
 (3) applying pattern '^.*$' to uri 'index.php/quote'
 (4) RewriteCond: input='//?/C:/Inetpub/wwwroot/quotation/www/public/index.php' pattern='-s' => matched
 (1) Rewrite URL to >> /index.php/quote
 (2) rewrite 'index.php/quote' -> '/index.php/quote'
 (2) internal redirect with /index.php/quote [INTERNAL REDIRECT]


the last rewirte should be

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: Zend Htaccess setting for IIS 6

09 Jul 2012, 05:45

Hello,

It's not a bug. It means you don't have permissions to list folder's content. So ISAPI_Rewrite can't check if file is real or not.
Please, follow this documentation to overcome your problem.

Regards
Andrew

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 28 guests