Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
We are using a webserver and application server for our portal.
When my JBoss application is down on the application server, a maintenance page is shown to the user when the user tries to access the portal. When the JBoss application on the application server is up, the webserver redirects the request to the JBoss application server.
Now, while the JBoss application is up and I replace the contents of index.html page in apache with the maintenance page contents, still the webserver redirects the request to the JBoss application server and the contents of index.html are not shown to the user.
I am not able to find out any configurations for this automatic redirection in webserver. By automatic, I mean if the JBoss application is up, then redirect the request to the application server, else show maintenance page. Can anyone please help me on this?
What I want to do is show maintenance page even when my JBoss application is up.
I guess apache runs as a reverse proxy for the backend application server.
Check for a .htaccess in apache DocumentRoot (or through the various *.conf files) for proxy and rewrite directives.
If you want apache to stop proxying and display its index page as a maintenance page, just comment out these directives. Don't forget to do a backup of the file(s) you editing.
I guess apache runs as a reverse proxy for the backend application server.
Check for a .htaccess in apache DocumentRoot (or through the various *.conf files) for proxy and rewrite directives.
If you want apache to stop proxying and display its index page as a maintenance page, just comment out these directives. Don't forget to do a backup of the file(s) you editing.
Regards
hi bathory,
please help me to setup a maintainance redirection pages when jboss app server is down.
When my JBoss application is down on the application server, a maintenance page shud be shown . how to start . how do i do it . i know nothing of it .please help.
hi bathory,
please help me to setup a maintainance redirection pages when jboss app server is down.
When my JBoss application is down on the application server, a maintenance page shud be shown . how to start . how do i do it . i know nothing of it .please help.
Please do not hijack others threads.
You should start your own thread describing your problem, what you've done so far to solve it and some useful data like distro, config file(s), logs etc.
In the meantime have a look at this post to help you going.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.