Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Configure Crowd behind Apache


I've setup crowd behind apache to avoid to use 8095 port, ...

Works great but using I go to crowd setup page instead of

My Apache config :
<VirtualHost *:80>
ServerAdmin webmaster@localhost
<Proxy *>
Order deny,allow
Allow from all
ProxyRequests Off
ProxyPreserveHost On
ProxyPass /
ProxyPassReverse /
ErrorLog $

LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined


I didn't tune crowd server.xml.

How to manage that ?

Thank you

6 answers

1 accepted

2 votes
Answer accepted

No didn't work, got some Tomcat errors.


I changed crowd HOME : /atlassian-crowd/apache-tomcat/webapps/ROOT/index.html

To add :

<script language="javascript">
window.location.href = ""

I had a similar issue and found this to be the only thing that worked. To be clear, you need to add that html code inside the <head>, and you can leave everything else as is <head> <title>Atlassian Crowd - Identity management for web apps</title> <link rel="shortcut icon" href="images/favicon.ico"> <link rel="stylesheet" href="crowd/console/setup/aui/aui/css/aui.css"> <script language="javascript"> window.location.href = "http://<DNSname>/crowd"; </script> <script src="crowd/console/setup/aui/aui/js/aui-all.js"></script> <style> .aui-header .aui-header-logo-atlassian .aui-header-logo-device { background-image: url("images/atlassian_logo_text_white_x2.png"); width: 112px; } </style> </head>

If the context path is crowd and you want to set up with https then you do it this way:

# Not sure if the backend needs these http headers set, but I do it, just in case
RequestHeader set X-Forwarded-Proto "https"
RequestHeader set X-Forwarded-Port "443"
Redirect / /crowd
&lt;Proxy *&gt;
    Order deny,allow
    Allow from all
ProxyPass /crowd http://localhost:8095/crowd connectiontimeout=300 timeout=300
ProxyPassReverse /crowd/

Hope this helps for anyone struggling with both http and https

Follow up to comment by Mircea above:

I used the values:

ProxyPass / http://localhost:8095/crowd/
ProxyPassReverse / http://localhost:8095/crowd/


Here's the error I get with that option:


0 votes
CelsoA Rising Star Apr 22, 2014

Hi Julien,

I usually use this vhost pattern:

<VirtualHost *:80>
    #Creating virtual host
    ProxyRequests Off
    ProxyPreserveHost On
    <Proxy *>
        Order deny,allow
        Allow from all
    ProxyPass / http://localhost:8095/crowd
    ProxyPassReverse / http://localhost:8095/crowd   
<Location />
        Order allow,deny
        Allow from all
    ErrorLog /path/to/
    LogLevel debug
    CustomLog /path/to/ combined
I use this like a individual vhost to have more detailed logs if I need.
Please give it a try and let me know how it goes.
Celso Yoshioka

Hi Ceslo,

I have the same issue and I tried your solution. What I got is this:

HTTP Status 404 - /crowdcrowd/

type Status report

message /crowdcrowd/

description The requested resource is not available.

If I remove /crowd from the VirtualHost then it works except that I get to the setup page.

Any other ideas?

Hi guys,


Any chance that somebody found a solution for this one? I have the exact same issue, redirected to /crowdcrowd/ with a 404


Hello Tiago,

I can do that but I block :8095 access to use only the reverseproxy.

I want to use :80 for all Atlassian Tools instead to let open all the port.

Maybe I can use instead :

0 votes

Hi Julien,

What happens if you set apache like this?

ProxyPass /
ProxyPassReverse /


Suggest an answer

Log in or Sign up to answer

Atlassian Community Events