Running behind a proxy

View: New views
4 Messages — Rating Filter:   Alert me  

Running behind a proxy

by Alex Soto :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

Re: Running behind a proxy

by Sam Goldstein :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...> 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@...
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users


_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecontrolrb-users@...
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

Re: Running behind a proxy

by Alex Soto :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...> 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@...
> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
>
> _______________________________________________
> 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

Re: Running behind a proxy

by Alex Soto :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@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@rubyforge.org
> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
>
> _______________________________________________
> Cruisecontrolrb-users mailing list
> Cruisecontrolrb-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecontrolrb-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users