[Cruisecontrolrb-users] CruiseControlRb behind apache

Ketan Padegaonkar
2008-05-02T03:27:57Z

I managed to find this in the archives, so far:
http://www.nabble.com/Setting-up-CCRB-behind-apache-proxy-tt14016053.html#a14099749

Found a better alternative to doing this in my .htaccess instead of
messing with the httpd.conf, in case someone is interested:
--- snip ---
RewriteEngine On

### for cruisecontrol
RewriteBase	/
RewriteRule    ^(.*)$	http://localhost:3333/$1  [P]

AuthType	Basic
AuthName	"Cruise''s Restricted Files"
AuthUserFile	/var/www/.htpasswd
Require		valid-user
--- snip ---

However is there a better way for me to have cruise running under
http://myserver/cruise
  instead of rooting it at "/". mod_proxy only rendered the html if I
did this because the stylesheets and javascripts were in "/javascript"
and "/stylesheets" instead of "/cruise/javascript" and
"/cruise/
javascipt".

Is there a way I could run cruise under /cruise when starting it up,
so that my apache acts as a dumb proxy ?

Cheers,
Ketan Padegaonkar
http://swtbot.org/ - a functional testing tool for SWT/Eclipse