Hi there I checked out the latest from github since I saw posts that relative urls was fixed in trunk, but I''m still not having any luck getting assets to appear. Is running behind a proxy under a path such as /cruise something anyon has had luck with and might be able to provide some tips? Thanks, Alex
Are you having trouble serving static assets (images/css/etc)? I''ve had this happen before when Apache''s permissions are set too strictly. Apache will serve the dynamic requests through mongrel (or whatever you''re using) but won''t have permission to access static assets on the file system. ~sam goldstein On Thu, Feb 5, 2009 at 10:17 AM, Alex Soto <apsoto at gmail.com> wrote:> Hi there > I checked out the latest from github since I saw posts that relative urls > was fixed in trunk, but I''m still not having any luck getting assets to > appear. > > Is running behind a proxy under a path such as /cruise something anyon has > had luck with and might be able to provide some tips? > > Thanks, > Alex > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20090205/b1a98ce5/attachment-0001.html>
Unfortunately no. I have the cruise available at http://hostname/cruise but all the urls in the app show /javascripts/... /projects/project_name /builds/project_name/5799 etc. Initially I was running the last official release (1.3) was released on 2008-04-24 according to rubyforge. I saw a mailing list post from May 2008 that this was fixed, and I thought running the latest source would fix this, but still not having any luck. Here''s my apache config (obfuscated a bit), in case its of any help: <VirtualHost *:80> ServerName HOSTNAME ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /cruise http://localhost:3333/ ProxyPassReverse /cruise http://localhost:3333/ </VirtualHost> On Feb 5, 2009, at 11:30 AM, Sam Goldstein wrote:> Are you having trouble serving static assets (images/css/etc)? > > I''ve had this happen before when Apache''s permissions are set too > strictly. Apache will serve the dynamic requests through mongrel > (or whatever you''re using) but won''t have permission to access > static assets on the file system. > > ~sam goldstein > > On Thu, Feb 5, 2009 at 10:17 AM, Alex Soto <apsoto at gmail.com> wrote: > Hi there > I checked out the latest from github since I saw posts that relative > urls was fixed in trunk, but I''m still not having any luck getting > assets to appear. > > Is running behind a proxy under a path such as /cruise something > anyon has had luck with and might be able to provide some tips? > > Thanks, > Alex > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
Just updating this thread to see if I can catch someone else''s eye about running ccrb proxied under a subdir. Alex Soto wrote:> > Unfortunately no. > > I have the cruise available at > http://hostname/cruise > > but all the urls in the app show > /javascripts/... > /projects/project_name > /builds/project_name/5799 > > etc. > > Initially I was running the last official release (1.3) was released > on 2008-04-24 according to rubyforge. > > I saw a mailing list post from May 2008 that this was fixed, and I > thought running the latest source would fix this, but still not having > any luck. > > Here''s my apache config (obfuscated a bit), in case its of any help: > > <VirtualHost *:80> > ServerName HOSTNAME > > ProxyRequests Off > > <Proxy *> > Order deny,allow > Allow from all > </Proxy> > > ProxyPass /cruise http://localhost:3333/ > ProxyPassReverse /cruise http://localhost:3333/ > > </VirtualHost> > > On Feb 5, 2009, at 11:30 AM, Sam Goldstein wrote: > >> Are you having trouble serving static assets (images/css/etc)? >> >> I''ve had this happen before when Apache''s permissions are set too >> strictly. Apache will serve the dynamic requests through mongrel >> (or whatever you''re using) but won''t have permission to access >> static assets on the file system. >> >> ~sam goldstein >> >> On Thu, Feb 5, 2009 at 10:17 AM, Alex Soto <apsoto at gmail.com> wrote: >> Hi there >> I checked out the latest from github since I saw posts that relative >> urls was fixed in trunk, but I''m still not having any luck getting >> assets to appear. >> >> Is running behind a proxy under a path such as /cruise something >> anyon has had luck with and might be able to provide some tips? >> >> Thanks, >> Alex >> >> _______________________________________________ >> Cruisecontrolrb-users mailing list >> Cruisecontrolrb-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users >> >> _______________________________________________ >> Cruisecontrolrb-users mailing list >> Cruisecontrolrb-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > >-- View this message in context: http://www.nabble.com/Running-behind-a-proxy-tp21857811p22045442.html Sent from the CruiseControl.rb - Users mailing list archive at Nabble.com.