I am trying to set up a duplicated server that originally ran on a Windows machine and ISAPI Rewrite rules over to work on my FC7 machine. Here is the rules for ISAPI_Rewrite:
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^.?\.local$ [NC]
RewriteRule (.*) /core/index\.cfm?pagepath=/ [L]
RewriteRule ^/favicon\.ico /core/favicon\.ico [L]
RewriteRule ^/shortcuticon\.ico /core/shortcuticon\.ico [L]
RewriteCond %{REQUEST_URI} !^/(admin|core|docs|sitecheck|ssl|scripts|cfcflexplorer|flex2gateway|flashservices|cfide|cfformgateway|com|UserUploadedEditor|SpecialReports|PDFIssues|contentUploadedByEweb|_loadTesting)($|/) [NC]
#just in case u are trying to rewrite our param
RewriteCond %{QUERY_STRING} !pagepath [NC]
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^([^\?]*)\??(.*) core/index.cfm?pagepath=/$1&%1 [L]
Now I believe these are the same for mod_rewrite so I had copied them into the Apache Directives field on the subdomain I am using, but I am getting a 400 Bad Request error. Did I put these rules in the wrong location or are the rules not compatible with what I am doing?
Recent comments
15 hours 47 min ago
1 day 1 hour ago
1 day 2 hours ago
1 day 5 hours ago
1 day 10 hours ago
1 day 10 hours ago
1 day 12 hours ago
1 day 22 hours ago
2 days 3 hours ago
2 days 5 hours ago