Hello I've got a confluence installation running on tomcat. Before tomcat I've an apache server.

After I visit my page a 302 to /home page.action is performed and later on a redirect towards the start space occur confluence after which another redirect to actual start page of the page.

This really is annoying and I'm not sure the way the google bot is impacted by it.

Thus I've two questions:

  1. How's the google bot impacted by all of this redirects?
  2. How do i avoid these redirects with apache?

I attempted to create a proxy directive straight to my website landing page.

<LocationMatch ^/$>
    ProxyPass ajp://myurl:8009/mysite
    ....
</LocationMatch>
<LocationMatch /*>
    ProxyPass ajp://myurl:8009/
    ....
</LocationMatch>

But this doesn't work. Either I recieve a 404 or I recieve to each request exactly the same response.

Presently I acquired this configuration working:

<LocationMatch />
    ProxyPass ajp://myurl:8009/
    ....
</LocationMatch>

But this can lead to a not too awesome URL in the beginning page.

Xox

Christian

Atlassian has documented this use situation.

UPDATE 4/20/2011

Well, I attempted mod_proxy with Confluence and, as if you, did not such as the results. I discovered using mod_jk to become simpler and cleaner (that we think is the objective here using the friendly Web addresses).

Again, Atlassian has documented using mod_jk. Listed here are my configs:

[confluence-install]/conf/server.xml

<Connector port="8016"
              enableLookups="false" protocol="AJP/1.3" minSpareThreads="5" maxThreads="256" URIEncoding="UTF-8" />

[/etc/apache2/employees.qualities]

worker.list=confluence
worker.confluence.host=localhost
worker.confluence.port=8016
worker.confluence.type=ajp13

[/etc/apache2/httpd.conf]

NameVirtualHost 1.2.3.4:80
<VirtualHost 1.2.3.4:80>
        ServerAdmin webmaster@localhost
        ServerName confluence.domain.com

        # Possible values include: debug, info, notice, warn, error, crit, alert, emerg.
        LogLevel warn

        ErrorLog /var/log/apache2/confluence-error.log
        CustomLog /var/log/apache2/confluence-access.log combined

        JkMount / confluence
        JkMount /* confluence

        JkLogLevel warn
        JkLogFile /var/log/apache2/confluence_jk.log

</VirtualHost>

Hopefully, switching to mod_jk is definitely an choice for you. I really hope this can help resolve your question.