Forum Discussion

MSZ's avatar
MSZ
Icon for Nimbostratus rankNimbostratus
Apr 01, 2018

URL in Staging

We create a URL and put it in Staging state. But it is blocking due to the RFC compliance check.

 

Can anyone describe why this URL is monitoring even it is in staging state? The events are appearing in the event logs as blocked request.

 

For Example:

 

/urlinstage created and put it in staging state. Also from advanced tab the Header-Based content profile set as "do-noting".

 

6 Replies

  • M_2's avatar
    M_2
    Icon for Altocumulus rankAltocumulus

    Are you testing for ASM ? Can you check the policy enforcement?

     

  • nathe's avatar
    nathe
    Icon for Cirrocumulus rankCirrocumulus

    A URL in staging will prevent blocks due to URL length errors, for example. RFC violations are a separate category. These can't be put in staging but can be turned off. Best thing is to investigate why the request is non RFC compliant.

     

    HTH,

     

    N

     

  • Try this iRule:

    when HTTP_REQUEST {
    if {[HTTP::uri] contains "/urlinstage" } {
    ASM::disable
    log local0. "ASM disabled."
    } else {
    ASM::enable /Common/the_name_of_your_policy
    log local0. "ASM enabled. Current ASM policy is [ASM::policy]"
    }
    }
    
  • Compliance check is independent from the URL definitions.

     

    If you don't want it to be blocked, you need to identify which compliance violation was triggered and uncheck the block option for it on the policy blocking settings.

     

  • MSZ's avatar
    MSZ
    Icon for Nimbostratus rankNimbostratus

    RFC compliance settings are Global to the ASM Policy not for the specific URI.