|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Setting up CCRB behind apache proxyHas anyone had any success setting up CCRB behind a proxy, using apache? I've tried it 6 ways from tuesday, and it always seems to have some problems a) rewriting some of the urls for things like css files and b) with one or two of the redirects.
thanks in advance! |
|
|
Re: Setting up CCRB behind apache proxythe following apache configuration works for me (apache 2.2 on ubuntu
feisty) (if this is what you are looking for) <VirtualHost *> ServerAdmin admin@... ServerName cc.exmaple.com <Location /> AuthType Basic AuthName "Cruisecontrol" AuthUserFile /path/to/htpasswd Require valid-user </Location> ProxyPass / http://1.1.1.1:3333/ ProxyPassReverse / http://1.1.1.1:3333/ ProxyPreserveHost on </VirtualHost> where 1.1.1.1 your host running CC, im my case is 127.0.0.1 but can be anything. best, --Alex On Fri, 2007-11-30 at 13:53 -0800, cchiodo wrote: > Has anyone had any success setting up CCRB behind a proxy, using apache? > I've tried it 6 ways from tuesday, and it always seems to have some problems > a) rewriting some of the urls for things like css files and b) with one or > two of the redirects. > > thanks in advance! _______________________________________________ Cruisecontrolrb-users mailing list Cruisecontrolrb-users@... http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users |
|
|
Re: Setting up CCRB behind apache proxyHere's what I just did (ubuntu as well):
* a2enmod proxy (enable proxy module) * add the following to mods-enabled/proxy.conf: <Proxy http://localhost:3333> Order deny,allow Deny from all Allow from all </Proxy> * add the following virtual host (this is a public server so I commented basic auth): Linux thewoolleyweb.com 2.6.16.33-xenU #3 SMP Sun Dec 23 00:38:51 UTC 2007 i686 <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName ci.yourhost.com # <Location /> # AuthType Basic # AuthName "Cruisecontrol" # AuthUserFile /path/to/htpasswd # Require valid-user # </Location> ProxyPass / http://localhost:3333/ ProxyPassReverse / http://localhost:3333/ ProxyPreserveHost on </VirtualHost> * make sure ci.yourhost.com resolves (put it in your local hosts file to test, and add as an alias in your DNS config) HTH, -- Chad On Nov 30, 2007 4:01 PM, Alexander Kabanov <shurikk@...> wrote: > the following apache configuration works for me (apache 2.2 on ubuntu > feisty) (if this is what you are looking for) > > <VirtualHost *> > ServerAdmin admin@... > ServerName cc.exmaple.com > > <Location /> > AuthType Basic > AuthName "Cruisecontrol" > AuthUserFile /path/to/htpasswd > Require valid-user > </Location> > > ProxyPass / http://1.1.1.1:3333/ > ProxyPassReverse / http://1.1.1.1:3333/ > ProxyPreserveHost on > </VirtualHost> > > where 1.1.1.1 your host running CC, im my case is 127.0.0.1 but can be > anything. > > best, > > --Alex > > > On Fri, 2007-11-30 at 13:53 -0800, cchiodo wrote: > > Has anyone had any success setting up CCRB behind a proxy, using apache? > > I've tried it 6 ways from tuesday, and it always seems to have some problems > > a) rewriting some of the urls for things like css files and b) with one or > > two of the redirects. > > > > thanks in advance! > > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users@... > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > Cruisecontrolrb-users mailing list Cruisecontrolrb-users@... http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users |
| Free embeddable forum powered by Nabble | Forum Help |