Forum Discussion

breizho35_11667's avatar
breizho35_11667
Icon for Nimbostratus rankNimbostratus
Jan 28, 2010

Paths syntaxe error in httpclass profile

Hello,

 

 

I would like to know why the syntaxe of following paths is wrong.

 

 

profile httpclass http_WC {

 

defaults from httpclass

 

pool Pool_WC

 

redirect none

 

paths

 

"/titi_toto1/*"

 

"/tititoto2/*"

 

"/titi-toto3/*"

 

"/tititoto4/*"

 

}

 

 

Thanks a lot,

 

 

Eric

2 Replies

  • Which LTM version are you running? Did you try loading that in a bigip.conf or via bigpipe and get an error? If so, what was the error message?

    Here is the 10.0.1 syntax for an HTTP class with multiple classes:

     
     profile httpclass httpclass1 { 
        defaults from httpclass 
        asm enable 
        paths { 
           "/class1" 
           "/path2" 
        } 
     } 
     

    And here is a 9.4.8 example:

     
     profile httpclass hooleya_class_2 { 
        defaults from httpclass 
        asm disable 
        paths 
           "/path1*" 
           "/path2" 
     } 
     

    On a 9.4.8 unit, this command succeeded for adding the class you had listed:

    b profile httpclass http_WC '{

    defaults from httpclass

    redirect none

    paths

    "/titi_toto1/*"

    "/tititoto2/*"

    "/titi-toto3/*"

    "/tititoto4/*"

    }'

    Aaron