Forum Discussion
Adam_Burnett_18
Oct 01, 2015Nimbostratus
HTTP::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
Oct 01, 2015Employee
The 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"
}
}
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