Forum Discussion
Michael_Jenkins
Jul 01, 2014Cirrostratus
http_process_state_prepend - Invalid Action:0x109010
We're trying to implement OwnCloud in our environment, and I've developed a few iRules to handle some of the work , but we've run into an issue when trying to download files. The connection keeps get...
Michael_Jenkins
Jul 01, 2014Cirrostratus
Here's the code:
when HTTP_REQUEST {
set DEBUG 2
set uri [HTTP::uri]
if {$DEBUG>1} { log local0. "" }
if {$DEBUG>1} { log local0. "----------------------------------------------" }
if {$DEBUG } { log local0. "Path: '[HTTP::path]'" }
if {$DEBUG>2} { log local0. "Request: [HTTP::request]" }
switch -glob [HTTP::header value "User-Agent"] {
"*mirall/*" -
"*csyncoC/*" -
"*neon/*" {
Disable APM if not already authenticated
if { not ( [HTTP::cookie exists MRHSession] && [ACCESS::policy result -sid [HTTP::cookie value MRHSession]] equals "allow" ) } {
ACCESS::disable
}
return
}
default {
Check the PATH for authentication exclusions
switch -glob [string tolower [HTTP::path]] {
"/remote.php/webdav/*" -
"*/status.php*" -
"*/public.php*" -
"*/core/img/*" -
"/index.php/apps/files_sharing/publicpreview.png" -
"*/*.css" -
"*/*.js" -
"/client/*" {
Disable APM if not already authenticated
if { not ( [HTTP::cookie exists MRHSession] && [ACCESS::policy result -sid [HTTP::cookie value MRHSession]] equals "allow" ) } {
ACCESS::disable
}
return
}
"/" {
Set the proper sso
WEBSSO::select [set foo /Common/CLIENT_INIT_FORMS_SSO]
return
}
default {}
}
}
}
}
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