Hi all

I am testing an installation on SLC 6.2 I am trying to configure my Vhost
so that RailsAutoDetect is set to off, and RackBaseURI /

However I keep in getting an error as follows:

*Error message:*
No such file or directory - config.ru
*Exception class:*
*Application root:*

If I take out the RackBaseURI statement and return the RailsAutoDetect to
on, Everything works, though we want to know if its possible without the

Below are copies of the configs when it fails

*APassenger.conf *

# you probably want to tune these settings

LoadModule passenger_module
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.12
PassengerRuby /usr/bin/ruby

PassengerHighPerformance on
PassengerMaxPoolSize 12
PassengerPoolIdleTime 1500
# PassengerMaxRequests 1000
PassengerStatThrottleRate 120
RackAutoDetect Off
RailsAutoDetect Off

Listen 3000
<VirtualHost *:3000>
ServerName vmm.atds.pup-05
#RailsAutoDetect On
DocumentRoot /usr/share/puppet-dashboard/public/
SetEnv RAILS_ENV production
RackBaseURI /
<Directory /usr/share/puppet-dashboard/public/>
AllowOverride AuthConfig
Order allow,deny
Allow from all
Options -MultiViews
ErrorLog /var/log/httpd/dashboard_error.log
LogLevel warn
CustomLog /var/log/httpd/dashboard_access.log combined
ServerSignature On
Listen 8140

<VirtualHost *:8140>
SSLEngine on
SSLProtocol -ALL +SSLv3 +TLSv1

SSLCertificateChainFile /var/lib/puppet/ssl/ca/ca_crt.pem
SSLCACertificateFile /var/lib/puppet/ssl/ca/ca_crt.pem
# If Apache complains about invalid signatures on the CRL, you can
try disabling
# CRL checking by commenting the next line, but this is not
SSLCARevocationFile /var/lib/puppet/ssl/ca/ca_crl.pem
SSLVerifyClient optional
SSLVerifyDepth 1
SSLOptions +StdEnvVars

ErrorLog logs/puppet_error_log
TransferLog logs/puppet_access_log
LogLevel warn
# This header needs to be set if using a loadbalancer or proxy
#RequestHeader unset X-Forwarded-For

#RequestHeader set X-SSL-Subject %{SSL_CLIENT_S_DN}e
#RequestHeader set X-Client-DN %{SSL_CLIENT_S_DN}e
#RequestHeader set X-Client-Verify %{SSL_CLIENT_VERIFY}e

DocumentRoot /etc/puppet/rack/public/
RackBaseURI /
<Directory /etc/puppet/rack/>
Options None
AllowOverride None
Order allow,deny
allow from all
is it possible to do this?

You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/On20sw8vm-4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppuppet-users @
postedJun 12, '12 at 10:00a
activeJun 18, '12 at 12:06p

1 user in discussion

Chris Lee: 2 posts



site design / logo © 2023 Grokbase