Skip to content

Instantly share code, notes, and snippets.

@rurounijones
Created August 31, 2011 04:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rurounijones/1182826 to your computer and use it in GitHub Desktop.
Save rurounijones/1182826 to your computer and use it in GitHub Desktop.
Aug 31 13:27:02 app-web-1 rails-app-uat[24064]: Started GET "/test/" for 10.80.89.170 at Wed Aug 31 13:27:02 +0900 2011
Aug 31 13:27:02 app-web-1 rails-app-uat[24064]: ActionController::RoutingError (No route matches "/test"):
<VirtualHost *:443>
ServerName www.example.com
DocumentRoot /var/www/applications/app/current/public
<Directory /var/www/applications/app/current/public>
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
PassengerEnabled On
PassengerAppRoot /var/www/applications/app/current/
RackEnv production
</Directory>
AliasMatch ^/test/(.*)$ /var/www/applications/app_uat/current/public/$1
RedirectMatch ^/test$ /test/
<Directory /var/www/applications/app_uat/current/public >
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
PassengerEnabled On
PassengerAppRoot /var/www/applications/app_uat/current/
RackEnv uat
SetEnv RAILS_RELATIVE_URL_ROOT /test
</Directory>
XSendFile on
XSendFilePath /tmp
PassengerFriendlyErrorPages off
PassengerMaxPoolSize 26
PassengerMinInstances 15
RailsMaxPoolSize 26
RailsPoolIdleTime 0
LogLevel info
ErrorLog /var/log/httpd/app_error.log
CustomLog /var/log/httpd/app_access.log combined
SSLEngine on
SSLCertificateFile /etc/httpd/ssl/crt/app.crt
SSLCertificateKeyFile /etc/httpd/ssl/private/app.key
SSLCACertificateFile /etc/httpd/ssl/crt/intermediate.crt
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment