I have FogBugz installed on a Mac and instead of the standard http://mydomain/fogbugz -> http://localhost:7066/fogbugz setup enabled by including /opt/fogbugz/conf/fogbugz-redirect.conf in my main apache httpd.conf, I have a virtual host doing the proxypass from http://mydomain:
# Virtual hosts
#Include /private/etc/apache2/extra/httpd-vhosts.conf
<VirtualHost *:80>
ServerAdmin me@example.com
ServerName mydomain
ServerAlias www.mydomain
ProxyPass / http://localhost:7066/fogbugz/
ProxyPassReverse / http://localhost:7066/fogbugz/
</VirtualHost>
<VirtualHost *:8080>
ServerAdmin me@example.com
ServerName mydomain
ServerAlias www.mydomain
DocumentRoot "/Library/WebServer/Documents"
</VirtualHost>
With this setup, I keep getting logged out of fogbugz. Looking at my cookies, the domain is mydomain, but the path is /fogbugz instead of /. How can I tell FogBugz that it's at the root of my main apache?
For fun, I tried the sRedirectBase setting in the database, but it didn't change the behavior.