Forum Discussion
Adam_Burnett_18
Nimbostratus
Oct 01, 2015HTTP::respond over SSL
I have an iRule on an HTTPS virtual server that uses HTTP::respond. When I make a request to this virtual server that hits the iRule I get an SSL error. Do I have to do anything extra to get the resp...
Kevin_Stewart
Employee
Oct 01, 2015The iRule should always being triggered for HTTP requests. Try adding some logging.
when HTTP_REQUEST {
log local0. "here: [HTTP::method]"
set allowed {PUT POST GET DELETE}
if { [lsearch $allowed [HTTP::method]] < 0 } {
log local0. "HTTP [HTTP::method] REJECTED!"
HTTP::respond 405 content "Method not allowed"
}
}
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