| Posted: 08 May 2008 at 9:17am | IP Logged
|
|
|
I'm not sure where I'm going wrong then. I've given Read and Execute rights to IIS_WPG group to the the httpd.ini file in the website root directory.
In this httpd.ini file, the first rewrite is working, but the second one is not:
[ISAPI_Rewrite]
# Redirect any URLs containing the internal=1 variable to same URL without it RewriteRule ^(.*)?(internal=1&|\?internal=1|&internal=1&|&internal=1)(.*) $1$3 [RP]
# Force proper subdomain on all requests RewriteCond %HTTP_HOST ^domainname\.com RewriteRule ^/(.*) http://www.domainname.com/$1 [RP,L]
There is nothing in the httpd.parse.errors file.
I've tried other code that works in the Regular Expression Test Utility in place of the second rule, and it doesn't work either.
Server is Windows 2003 Server 32-bit.
Thanks. -bg
|