Sweet. Thanks!

On Fri, Oct 08, 2010 at 10:06:40AM -0700, Mikko Lahti wrote:
> Use "negative" regexp:
> 
> URL "^/(?!dir/)"
> 
> This would match anything, but the URLs starting with /dir/
> 
> Now if only Pound supported "OR" for URL lines, that would be just
> perfect. I'm getting tired of very long lines like
> 
> URL 
> "^/(scriptA\.pl|scriptB\.pl|scriptC\.pl|scriptD\.pl|scriptE\.pl|scriptF\.pl|scriptG\.pl|.....)"
> 
> I'd rather have:
> URL-or "^/scriptA.pl"
> URL-or "^/scriptB.pl"
> URL-or "^/scriptC.pl"
> URL-or "^/scriptD.pl"
> URL-or "^/scriptE.pl"
> URL-or "^/scriptF.pl"
> .....
> 
> 
> On Fri, Oct 8, 2010 at 9:46 AM, Sergei Gerasenko <
> [email protected]> wrote:
> 
> > The only problem is that I would need to repeat the list of dynamic servers
> > in that service again. Any way to avoid that repetition?
> >
> > On Fri, Oct 08, 2010 at 11:15:56AM -0500, [email protected] wrote:
> > > Just define a service above the "static" service to catch the specific
> > URL
> > > exceptions for dynamic content (using URL matching).
> > > Anything that does not match should "fall through" to your static
> > content.
> > >
> > > Requests will get sent to the "first matching service"
> > >
> > >
> > >
> > >
> > > From:
> > > Sergei Gerasenko <[email protected]>
> > > To:
> > > [email protected]
> > > Date:
> > > 10/08/2010 11:03 AM
> > > Subject:
> > > [Pound Mailing List] config question
> > > Sent by:
> > > Sergei <[email protected]>
> > >
> > >
> > >
> > > Hello,
> > >
> > > I have a rather simple scenario. I just need to split static and dynamic
> > > content. So, I first defined the service for the static content with a
> > > URL condition.
> > >
> > > The definition for the dynamic content service follows the static one.
> > > In essence anything that doesn't get captured by the static content
> > > service falls through to the dynamic one.
> > >
> > > The problem is that it recently became necessary to channel some static
> > > content through the dynamic servers because requests to that static
> > > content should trigger a login procedure in php.
> > >
> > > So, I somehow need to exclude certain directories from the static
> > > service, but I can't find any way to exclude certain URLs.
> > >
> > > In essence, I need to say "All static content except for this".
> > >
> > > What's the best way to handle this?
> > >
> > > Thanks,
> > >   Sergei
> > >
> > > --
> > > To unsubscribe send an email with subject unsubscribe to [email protected].
> > > Please contact [email protected] for questions.
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe send an email with subject unsubscribe to [email protected].
> > > Please contact [email protected] for questions.
> >
> > --
> > To unsubscribe send an email with subject unsubscribe to [email protected].
> > Please contact [email protected] for questions.
> >
> 
> 
> --
> To unsubscribe send an email with subject unsubscribe to [email protected].
> Please contact [email protected] for questions.

--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.

Reply via email to