Le 5 avr. 04, � 13:39, Joachim M�ller a �crit :


thanks Rapha�l, but this is not exactly what I want.

I need to be able to shield the application servers from outside requests, so I have enough time to check the applications are running ok, i.e. after an upgrade. It should be possible to manually switch the apache into a state where all requests are send to the maintenance page, considering that there is other content the apache server has to serve.

I tried to use a redirect rule already but with no luck. the redirect rule must be interfering with the mod_jk setup. (maybe it's not the right group to ask, but it is definitely interessting to all jetspeed users... ;-))


Definitely not the best forum for this question. If you're willing to live with a manual process.
Use a .htaccess in your root directory where for example:
- you deny access to all outside IP addresses
- define a custom 403 Error page stating that you are under maintenance


Something like:

allow from 10. (assuming your internal network is in 10.0.0.0)
deny from all
ErrorDocument 403 /under_maintenance.html

You just have to set or remove your .htaccess to control your maintenance behavior.

--
Rapha�l Luta - [EMAIL PROTECTED]
Apache Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to