Base rewrite condition on external web page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am setting up a maintenance web page but I need to control two proxies from one location. I am looking for a way to have my proxy server poll a web page on a different web server and allow a rewrite based on the the http status code.

Example, on one of the two servers, I use a variable set toggle maintenance on or off. That covers the first proxy server. I would like to have the second proxy server to be able to poll a specific URI on the first server that when in maintenance mode, the first server responds with a specific http status code. Then based on that status code, the second server will redirect to a maintenance.html page.

I am just not sure how to call the external page and set a variable for the rewrite condition in the second server.


Is this even possible?

Thanks,

Robert



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux