[Cruisecontrolrb-users] CruiseControlRb behind apache

Eric Pugh
2008-08-28T16:05:47Z

I ended up using a plugin call HTPasswd to give me security..  For me
it was much easier then mucking around with Apache.

I blogged about it here:
http://www.opensourceconnections.com/2008/08/28/securing-cc.rb-from-the-world/

Eric


On Thu, Aug 28, 2008 at 10:08 AM, Higgaion <brian at newmedio.com>
wrote:
>
> I share your goal. this block gets css and js links to work while hosting
at
> a sub dir.
> <Location /ccrb/>
>        AuthType Basic
>        AuthName "CCRB"
>        AuthUserFile /etc/httpd/conf.d/ccrb.htpasswd
>        Require valid-user
>        ProxyPass http://localhost:3333/
>        ProxyPassReverse http://localhost:3333/
> </Location>
>
> however, all of the links within cc.rb try to jump back to
''/''. ex:
> /projects works if i manually go to /ccrb/projects, but the links within
> cc.rb are all broken. any apache guru know how to trick cc.rb into thinking
> its root is ''/ccrb/'' instead of ''/'' ?
>
>
>
> Ketan Padegaonkar-2 wrote:
>>
>> 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 ?
>>
>>
>
> --
> View this message in context:
http://www.nabble.com/CruiseControlRb-behind-apache-tp17013243p19201355.html
> Sent from the CruiseControl.rb - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Cruisecontrolrb-users mailing list
> Cruisecontrolrb-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
>