Re: help with a rewrite rule

2010-12-11 Thread Dominic Watson
We are ignoring certain types of files this exact way. Have you tried stripping out all the other rules but the scripts ignore one? i.e. to debug, make your entire rewrite script look like this: RewriteEngine on RewriteRule ^/scripts/(.*)$ /scripts/testing/$1 [I,R=301] # i.e. the rule above

RE: help with a rewrite rule

2010-12-10 Thread Mark A. Kruger
Ok... I tried the following: RewriteRule (?!/scripts.*) [L] But instead of ignoring it it actually redirecte to [L] ... so it's rewriting to blank eh? Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original

RE: help with a rewrite rule

2010-12-10 Thread Mark A. Kruger
, 2010 11:22 AM To: cf-talk Subject: RE: help with a rewrite rule Ok... I tried the following: RewriteRule (?!/scripts.*) [L] But instead of ignoring it it actually redirecte to [L] ... so it's rewriting to blank eh? Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger

RE: help with a rewrite rule

2010-12-10 Thread Mark A. Kruger
Anyone? -Original Message- From: Mark A. Kruger [mailto:mkru...@cfwebtools.com] Sent: Friday, December 10, 2010 11:28 AM To: cf-talk Subject: RE: help with a rewrite rule So maybe... RewriteRule (?!/scripts.*) /scripts.* [L] ?? Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105

Re: help with a rewrite rule

2010-12-10 Thread Michael Grant
Bueller. On Fri, Dec 10, 2010 at 1:25 PM, Mark A. Kruger mkru...@cfwebtools.comwrote: Anyone? -Original Message- From: Mark A. Kruger [mailto:mkru...@cfwebtools.com] Sent: Friday, December 10, 2010 11:28 AM To: cf-talk Subject: RE: help with a rewrite rule So maybe

RE: help with a rewrite rule

2010-12-10 Thread Mark A. Kruger
105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Mark A. Kruger [mailto:mkru...@cfwebtools.com] Sent: Friday, December 10, 2010 12:25 PM To: cf-talk Subject: RE: help with a rewrite rule Anyone? -Original Message- From

RE: help with a rewrite rule

2010-12-10 Thread Mark A. Kruger
PM To: cf-talk Subject: RE: help with a rewrite rule Maybe I need: RewriteCond something... Followed by RewriteRule (?!/scripts.*) /scripts.* [L] ... I just don't want it to do anything at all... I just want it to STOP processing if the file is in the scripts directory.. how hard

Re: help with a rewrite rule

2010-12-10 Thread denstar
Might need to escape that slash: RewriteRule ^\/scripts\/(.*) /scripts/$1 [L] On Fri, Dec 10, 2010 at 2:41 PM, denstar valliants...@gmail.com wrote: I would think it would be something like this: RewriteRule ^/scripts/(.*)  /scripts/$1  [L] That's Apache style, but they're similar,

Re: help with a rewrite rule

2010-12-10 Thread denstar
I would think it would be something like this: RewriteRule ^/scripts/(.*) /scripts/$1 [L] That's Apache style, but they're similar, right? HIH! :Den -- The omission of good is no less reprehensible than the commission of evil. Plutarch On Fri, Dec 10, 2010 at 2:30 PM, Mark A. Kruger

RE: help with a rewrite rule

2010-12-10 Thread Mark A. Kruger
PM To: cf-talk Subject: Re: help with a rewrite rule I would think it would be something like this: RewriteRule ^/scripts/(.*) /scripts/$1 [L] That's Apache style, but they're similar, right? HIH! :Den -- The omission of good is no less reprehensible than the commission of evil. Plutarch

RE: help with a rewrite rule

2010-12-10 Thread Mark A. Kruger
Nope... no dice... http://www.classicindustries.com/scripts/admin_newProductscarline.js Notice the P is upper case. When you fire this in a browser it does a 301 and redirects to the this http://www.classicindustries.com/scripts/admin_newproductscarline.js I put my rule above the rule for