Forum Discussion
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
Cirrostratus
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
Cirrostratus
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 - hoolio
Cirrostratus
Good to hear.
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
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
