Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

HTTPD configuration for maintenance

GRENIER REMI August 8, 2023

Hello

During our jira/confluence upgrades, I whant to display a maintenance page for the end-users.
I've configured apache httpd to display it, it's working.
The problem is, the support team in charge of the upgrade see also the maintenance page! Not easy to upgrade :)
I would like to add a new <Location /jira2> in the VirualHost section in the httpd conf file.
This way, users on .../jira will see the maintenance page, and adminitrstors on ..../jira2 will see jira.

Do you have an exemple on httpd conf file with this kind of configuration?
I've updated mine but it's not working (i'm redirected to /jira):

<Location /jira>
Header unset X-Frame-Options
ProxyPass http://127.0.0.1:8009/jira
ProxyPassReverse /jira
RewriteEngine on
RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
RewriteRule . %1/%2 [R=301,L]
Require all granted
</Location>
<Location /jira2>
Header unset X-Frame-Options
ProxyPass http://127.0.0.1:8009/jira
ProxyPassReverse /jira2
RewriteEngine on
RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
RewriteRule . %1/%2 [R=301,L]
Require all granted
</Location>

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events