Shawn
asked on
isapi rewrite 3 not working
I have just moverd to isapi rewrite 3 on a new laptop with IIS7, windows 7 64bit (previously windosws xp pwith IIS6) and ca'n't seem to get it working. I have one simple rewrite in my test.
here is my entire httpd.conf file using to test
RewriteEngine On
RewriteCompatibility2 On
RepeatLimit 200
RewriteBase
LogLevel debug
RewriteLogLevel 9
RewriteRule ^company /index.cfm?action=home.com pany [NC,L]
in the log file I am getting
127.0.0.1 127.0.0.1 Thu, 23-Sep-2010 17:11:52 GMT [127.0.0.1/sid#1][rid#1889 3128/initi al] (1) Htaccess process request C:\Program Files\Helicon\ISAPI_Rewrit e3\httpd.c onf
127.0.0.1 127.0.0.1 Thu, 23-Sep-2010 17:11:52 GMT [127.0.0.1/sid#1][rid#1889 3128/initi al] (3) applying pattern '^company' to uri '/ARAXI_DEV_new_site/wwwro ot/company '
it doesn't look like any rewriting is getting done. what am I missing?
here is my entire httpd.conf file using to test
RewriteEngine On
RewriteCompatibility2 On
RepeatLimit 200
RewriteBase
LogLevel debug
RewriteLogLevel 9
RewriteRule ^company /index.cfm?action=home.com
in the log file I am getting
127.0.0.1 127.0.0.1 Thu, 23-Sep-2010 17:11:52 GMT [127.0.0.1/sid#1][rid#1889
127.0.0.1 127.0.0.1 Thu, 23-Sep-2010 17:11:52 GMT [127.0.0.1/sid#1][rid#1889
it doesn't look like any rewriting is getting done. what am I missing?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
mine shows
applying pattern '^company' to uri '/ARAXI_DEV_new_site/wwwro ot/company '
yours shows
applying pattern '^company' to uri 'company'
i don't know enough about isapi but isn't this a little different?
applying pattern '^company' to uri '/ARAXI_DEV_new_site/wwwro
yours shows
applying pattern '^company' to uri 'company'
i don't know enough about isapi but isn't this a little different?
ASKER
ok I just tried this and it worked
http://127.0.0.1:8002/company
so added this and presto
RewriteBase /ARAXI_DEV_new_site/wwwroo t/
thanks for pushing me in the right direction
http://127.0.0.1:8002/company
so added this and presto
RewriteBase /ARAXI_DEV_new_site/wwwroo
thanks for pushing me in the right direction
Add your default rewritebase
RewriteEngine On
RewriteCompatibility2 On
RepeatLimit 200
RewriteBase /
LogLevel debug
RewriteLogLevel 9
RewriteRule ^company /index.cfm?action=home.com
You rule works fine.. I test it and got a 404 as expected but it works nevertheless.
::1 ::1 Thu, 23-Sep-2010 20:46:43 GMT [localhost/sid#1][rid#1978
::1 ::1 Thu, 23-Sep-2010 20:46:43 GMT [localhost/sid#1][rid#1978
::1 ::1 Thu, 23-Sep-2010 20:46:43 GMT [localhost/sid#1][rid#1978
::1 ::1 Thu, 23-Sep-2010 20:46:43 GMT [localhost/sid#1][rid#1978
::1 ::1 Thu, 23-Sep-2010 20:46:43 GMT [localhost/sid#1][rid#1978
::1 ::1 Thu, 23-Sep-2010 20:46:43 GMT [localhost/sid#1][rid#1978
Give it a go, Hades666