For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

trx's avatar
Sep 29, 2009

12031 error

Hello all,

 

I am getting a 12031 error on accessing static files on a proxy server that needs credentials. It's suppose to prompt the user for credentials, but it doesn't.

 

 

Link: http://www11.qad.com/Employee/Presentations/Sales%20Training%20Presentations/QAD2008_CoreEnhancemnts_internal.ppt

 

 

Please help!

 

 

Thank you in advance.

 

 

Regards,

 

TRX

15 Replies

  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    You could either set global_URL to 0 in CLIENT_ACCEPTED and not set it to 0 at any point in HTTP_REQUEST, or you could not set it to 0 ever and use [info exists global_URL] && $global_URL==1 to check if the variable is defined and set to 1. I think either method would work for your scenario.

     

     

    Aaron
  • Thank you! Well I got it working by setting the the global variable in the "when RULE_INT { }" method and that worked. Your other tips I will have to try another day.

     

    Thank you. It was good learning new IRule TCL programming tips.

     

     

    Regards,

     

    TRX
  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    If you set the variable globally, two different clients would potentially trample over each other. I think either option I mentioned in the last post would work though.

     

     

    Aaron
  • Thanks again! I used the "when CLIENT_ACCEPTED" method.

     

     

    Regards,

     

    TRX