that looks like a good approach to the security issue, but i want my ccrb to be publicly accessible on port 80 at a path. I could do this with one of my unused static ips and my firewall, but that seems like overkill if this can be done w/ apache.
Eric Pugh-4 wrote: > > 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 <[EMAIL PROTECTED]> 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 >> [email protected] >> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users >> > _______________________________________________ > Cruisecontrolrb-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > -- View this message in context: http://www.nabble.com/CruiseControlRb-behind-apache-tp17013243p19207198.html Sent from the CruiseControl.rb - Users mailing list archive at Nabble.com. _______________________________________________ Cruisecontrolrb-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
