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 vote
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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published 12 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

95 views 2 4
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