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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

487 views 19 10
Join discussion

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