[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] Rewrite Rule conflicts with server config


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/

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.