Re: [Puppet Users] Dashboard and passenger under /dashboard path

2010-10-18 Thread Jacob Helwig
On Fri, 15 Oct 2010 13:56:13 -0700, Radek wrote:
> 
> I'm currently running a dashboard as a separate process and have a
> proxy in apache with authentication to access as 
> http://puppet.ourhost.com/dashboard/
> 
> I have to start the dashboard with "-P /dashboard" option to make it
> work.
> 
> I'm wondering how to achieve this with passenger. The config I found
> in ext/passanger seems to run the dashboard under the root of the
> virtual host.
> 
> --
> Radek
> 

http://www.modrails.com/documentation/Users%20guide.html#deploying_rails_to_sub_uri
has instructions on doing this.

Basically, you add a symlink to the public folder of Puppet Dashboard
from inside your existing vhost's DocumentRoot, and add a RailsBaseURI
directive to the vhost configuration.

cd /var/www && ln -s ../../usr/share/puppet-dashboard/public dashboard

vhost.conf:


  ServerName example.com
  DocumentRoot /var/www
  RailsBaseURI /dashboard

  ...



I don't think Puppet Dashboard <= 1.0.3 has been tested with this setup,
but >= 1.0.4rc2 should work just fine.

-- 
Jacob Helwig


signature.asc
Description: Digital signature


[Puppet Users] Dashboard and passenger under /dashboard path

2010-10-15 Thread Radek
I'm currently running a dashboard as a separate process and have a
proxy in apache with authentication to access as 
http://puppet.ourhost.com/dashboard/

I have to start the dashboard with "-P /dashboard" option to make it
work.

I'm wondering how to achieve this with passenger. The config I found
in ext/passanger seems to run the dashboard under the root of the
virtual host.

--
Radek

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.