404 error when running jira behind apache and ssl

The requested URL /secure/MyJiraHome.jspa was not found on this server. I keep getting this error after configuring apache with Jira's instructions.

2 answers

1 accepted

I uncommented the https connector in the server.xml file and now it is working. The instructions say comment that out.

That's not what the documentation says.

That is the only thing I changed and now it is working.

So, you're saying that following the documentation worked then?

All of the documentation worked when I uncommented the SSL port in the server.xml file. With the SSL port commented out the configuration did not work. I also added "*:443" as the virtual host compared to just "*" the way the documentation has it listed.

The documentation you've said you've been reading doesn't mention the SSL ports at all.

So, I assume you did something undocumented, and then when you un-did it, it worked? Or you've not pointed us at what you actually followed? (Such as the doc which tells us how to uncomment the ssl connection)

I would like to point out that I followed the directions, to a t @ https://confluence.atlassian.com/adminjiraserver070/integrating-jira-with-apache-using-ssl-749383660.html AND https://confluence.atlassian.com/doc/using-apache-with-mod_proxy-173669.html Got the same error as the OP. No where in that documentation does it say to edit the tomcat server.xml file to uncomment out the https connector (it is defaulted to being commented out).

0 vote

That implies you've got the config wrong somewhere - which documentation did you follow, and what did you do differently, or what's the non-standard setup of your server?

I followed these instructions https://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+Apacheand didn't do anything different. My instances are running on the same server. I have tried using a path and no path. Nothing seems to work.

I'm afraid we're kind of stuck then.

If you've followed those instructions, Jira and Apache work - I did this last Thursday, so I know it works.

First question is what you've done to debug this - you're saying a single URL doesn't work - what about the others you've tried? Is Jira actually running at all? Is it serving up some pages and not others? Probably ost useful - what do your log files say?

Next question is to try to establish exactly where the issue might be. What are you running this on (rough outline of the hardware and OS), what versions of Java, Jira and Apache?

I am in same situation. I am on a deadline. I am filling for my web admin who is on extended leave. Now I need to deploy JIRA to production soon. I am having tough time with jira running on https. Here is what I have 1. I have a server which is already configured for apache and tomcat and ssl 2. my java apps work fine that uses https 3. I installed jira with port 8090 and it works fine 4. Now I needed to use https 5. I added a context path /jira to server.xml 6. i changed my tomcat_proxies.conf file to reflect RewriteCond %{REMOTE_ADDR} ! RewriteCond %{REMOTE_ADDR} ! RewriteCond %{REMOTE_ADDR} ! RewriteCond %{REQUEST_URI} ^/jira($|/.*) RewriteCond %{SERVER_PORT} ^80$ RewriteRule .* https://server url [R,L] 7. i get this error 'jira/secure/MyJiraHome.jspa'. How do i resolve this? What am I doing wrong? Please help. We are under the impression that by buying jira, we get technical support for 1st year. I need help.

Step 6 - that's not right. You absolutely should never rewrite in any case, and the documentation makes no mention of rewrites, it uses proxies. Could you try it with the proxies as documented instead?

Suggest an answer

Log in or Join to answer
Community showcase
Alexey Matveev
Published Saturday in Jira

How to run Jira in a docker container

Everything below is tested on Ubuntu 17.10. I prefer to use Jira in a docker container because: 1. I can install Jira with a couple of commands. 2. I can start and stop Jira just by starting and s...

47 views 1 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot