F5 Sites
  • F5.com
  • F5 Labs
  • MyF5
  • NGINX
  • Partner Central
  • Education Services Portal (ESP)
Contact
  • Under Attack?
  • F5 Support
  • DevCentral Support
  • F5 Sales
  • NGINX Sales
  • F5 Professional Services
Open Side Menu
Skip to contentBrand Logo
Forums
CrowdSRC
Articles
GroupsEventsSuggestionsHow Do I...?
RegisterSign In
  1. DevCentral
  2. Forums
  3. Technical Forum

Forum Discussion

rezgui_180607's avatar
rezgui_180607
Icon for Nimbostratus rankNimbostratus
Dec 24, 2014

about not contain

is that correct?   if { $http_path contains ".jsp" && not($http_path contains "sample.jsp") } {Drop}   thanks in advance  
boneyard's avatar
boneyard
Icon for MVP rankMVP
Dec 24, 2014
why not just test it yourself?

Help guide the future of your DevCentral Community!

What tools do you use to collaborate? (1min - anonymous)

Win Big in Vegas: The iRules Contest is back with $5k on the line at AppWorld 2026

DevCentral News
announcement
Appworld2026
contest
event
iRules

Jürgen - February 2026 Featured Member

DevCentral News
announcement
devops
event
security

F5 Architecture Track Sessions - AppWorld 2026

DevCentral News
announcement
Appworld2026

Recent Discussions

  • Struggling with web GUI usability with links in new tabs
    Mar 03, 2026
    maurojfer
  • Questions on R-Series 5800s
    Mar 02, 2026
    InquisitiveMai
  • Questions on Migrating configs from iSeries to RSeries F5s
    Mar 02, 2026
    InquisitiveMai
  • Random TCP Resets from F5
    Mar 02, 2026
    pcourtois
  • Create Domino LTPA token on F5 problem
    Mar 02, 2026
    Jeff_Green_4244
Under Attack? F5 Will Help You.
Contacting F5 Support?

DevCentral Quicklinks

* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com

Discover DevCentral Connects

* Podcasts
* Social Channels
* Video Streaming

GitHub Awesome-F5

ABOUT DEVCENTRAL

DevCentral NewsTechnical ForumTechnical ArticlesTechnical CrowdSRCCommunity GuidelinesDevCentral EULAGet a Developer Lab LicenseBecome a DevCentral MVP

RESOURCES

Product DocumentationWhite PapersGlossaryCustomer StoriesWebinarsFree Online CoursesTraining & Certification

SUPPORT

Manage SubscriptionsProfessional ServicesCreate a Service RequestSoftware DownloadsSupport Portal

PARTNERS

Find a Reseller PartnerTechnology AlliancesBecome an F5 PartnerLogin to Partner Central

©2026 F5, Inc. All rights reserved.
TrademarksPoliciesPrivacyCalifornia PrivacyDo Not Sell My Personal Information