Redirect some URLs without going to login page first

Retina is flagging on the ability to access /admin/blocks.php. In reality, Confluence just redirects to a Login Page which Confluence returns HTTP Status Code 200 in the HTTP Header. I would like for the ability to selectively redirect users who try to access /admin/blocks.php to a 404 page and not a login page initially. Is it possible to do this by editing the web.xml and urlrewrite.xml under WEB-INF? I tried to do this, but it kept going to the login.action page.

1 answer

0 votes
Timothy Chin Community Champion Apr 28, 2014

I would suggest you to do this with Apache's mod_rewrite instead.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

976 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you