> We use this as the last Service entry in our conf file - it forces
over to a
> pre-flight server while keeping our standard domain names, sessions,
and
> certificates.
> # Use a development server if the cookie "devmode=yesplease"
is set.
> Service
> HeadRequire "Cookie:.*devmode=yesplease"
> URL ".*"
> BackEnd
> # preflight
> Address 10.0.1.37
> Port 80
> End
> End
Thanks for this! It did not occur to me to use
HeadRequire in this way. I'm testing this method now, but waiting
for our dev team to modify the login page (similar to your pre-flight,
i assume) to set a cookie instead of a header.
I'll let everyone know how it works.
Thanks,
Justin