Based off of your question, you've already setup apache to work as a reverse proxy for Jira I assume. Your best bet would to put this inside your virtual host section in your apache config. I don't beleive .htaccess will be an option in this configuration.
Don't forget to enable mod_rewrite with:
If you are not using apache as a reverse proxy, and only using Jira with the built in Tomcat, this will not work.
I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...
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!
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