i do this but for index.cfm. here's my rule i'm sure you can use it
for the media with a bit of work.

RewriteRule /services/(?!index.cfm)([a-zA-Z0-9_-]{1,})/?(?:.cfm)?(?:index.cfm)?
/services/show.cfm\?show=$1 [I]

The (?!index.cfm) right after services is what causes the rule to be
skipped if the url is /services/index.cfm

jonese

On 1/25/06, Barney Boisvert <[EMAIL PROTECTED]> wrote:
> With mod_rewrite, you'd use a RewriteCond (Condition) directive for
> this that only returns true for the URLs you want.  I.e. anything
> that's NOT /mysite/media.  Not sure if it's the same thing in
> ISAPI_Rewrite, but that's where I'd start.
>
> cheers,
> barneyb
>
> On 1/25/06, Damien McKenna <[EMAIL PROTECTED]> wrote:
> > I'm struggling to get a rewrite filter working for my site using
> > ISAPI_Rewrite (full edition, trial mode).  The following is basically
> > what I'm after:
> >
> > RewriteRule /mysite/(.*) /mysite/index.cfm?go=$1 [I]
> >
> > The catch is that I'd like to exclude the subdirectory "media" from the
> > rule, so that basically all my pages get processed correctly but it
> > ignores pictures etc in the media directory.
> >
> > Anyone have an idea on what I need to add?
> >
> > Thanks.
> >
> > --
> > Damien McKenna
>
> --
> Barney Boisvert
> [EMAIL PROTECTED]
> 360.319.6145
> http://www.barneyb.com/
>
> Got Gmail? I have 100 invites.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230430
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to