Re: mod_proxy_xxxxx last resort fallback redirect ?
On 06/17/2006 05:56 PM, Darryl Miles wrote: > Internal being a fall through to the configured mapping and content > handler for the URL just as-if the ProxyPass directive wasn't there, I > was thinking along the lines of this being configured with a > "fallthrough:" scheme prefix. This means it would be possible to use: > > DocumentRoot /opt/apache/htdocs > ProxyPass / balancer://group1/ timeout=5 maxattempts=3 > fallback-redirect=fallthrough:/holding.html This already works. Just add the following to your configuration: ErrorDocument 503 /holding.html Regards RĂ¼diger
Re: mod_proxy_xxxxx last resort fallback redirect ?
DocumentRoot /opt/apache/htdocs ProxyPass / balancer://group1/ timeout=5 maxattempts=3 fallback-redirect=fallthrough:/holding.html Would this work? RewriteCond %{REQUEST_URI} !-U RewriteRule /.* http://fallback.server/notworking.html Joost
Re: mod_proxy_xxxxx last resort fallback redirect ?
On Saturday 17 June 2006 16:56, Darryl Miles wrote: > Request for comments, Starting from ErrorDocument, what would you envisage needs changing to meet your aspirations? -- Nick Kew