Hi Is it possible to configure apache to redirect to the dashboard ? I have try the config : ProxyPass / http://localhost:3000 ProxyPassReverse / http://localhost:3000 I ve got the foolowing error when I try to get the nodes pages : Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /nodes. Reason: DNS lookup failure for: localhost:3000nodes -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Daniel Pittman
2011-Feb-14 17:32 UTC
Re: [Puppet Users] redirect the dashboard with apache
Hey. Your redirect lost the / between the service and the uri; add that to your ProxyPass lines and it should, I think, work. Regards, Daniel -- Puppet Labs Developer –http://puppetlabs.com Daniel Pittman <daniel@puppetlabs.com> Contact me via gtalk, email, or phone: +1 (877) 575-9775 Sent from a mobile device. Please forgive me if this is briefer than usual. On Feb 14, 2011 8:08 AM, "Vincent" <vlouviaux@gmail.com> wrote:> Hi > > Is it possible to configure apache to redirect to the dashboard ? > > I have try the config : > > ProxyPass / http://localhost:3000 > ProxyPassReverse / http://localhost:3000 > > > I ve got the foolowing error when I try to get the nodes pages : > > Proxy Error > > The proxy server received an invalid response from an upstream server. > The proxy server could not handle the request GET /nodes. > > Reason: DNS lookup failure for: localhost:3000nodes > > -- > You received this message because you are subscribed to the Google Groups"Puppet Users" group.> To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email topuppet-users+unsubscribe@googlegroups.com.> For more options, visit this group athttp://groups.google.com/group/puppet-users?hl=en.>-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Feb 14, 2011, at 8:09 AM, Vincent <vlouviaux@gmail.com> wrote:> Hi > > Is it possible to configure apache to redirect to the dashboard ? >Yes but it may be better to just have the dashboard run on the port you want rather than 3000> I have try the config : > > ProxyPass / http://localhost:3000 > ProxyPassReverse / http://localhost:3000 >Try adding a trailing slash to the destination URI.> I ve got the foolowing error when I try to get the nodes pages : > > Proxy Error > > The proxy server received an invalid response from an upstream server. > The proxy server could not handle the request GET /nodes. > > Reason: DNS lookup failure for: localhost:3000nodes > > -- > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.