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

This widget could not be displayed.
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
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

601 views 8 6
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