[ic] Rewrite Rule conflicts with server config
Josh Lavin
josh at myprivacy.ca
Thu Oct 26 17:39:21 EDT 2006
On Oct 26, 2006, at 3:56 PM, William Fiore wrote:
> I am trying to use the following rewrite rule in my .htaccess file:
>
> RewriteRule ^ic/model/(.+)\.html$ /ic/phone/$1.html [R=301,L]
>
> but it doesn't work because it conflicts with the following rule in my
> main server configuration:
>
> RewriteRule ^/ic/?(.*) /cgi-bin/amc_pcs/$1 [PT,L]
>
> Any ideas how to get it to work?
Try putting this above your rule that is conflicting:
RewriteCond %{REQUEST_URI} !^/ic/phone/.*
--
Josh Lavin
Kingdom Design http://www.kingdomdesign.com/
More information about the interchange-users
mailing list