Created
March 22, 2013 05:55
-
-
Save vparihar01/5219280 to your computer and use it in GitHub Desktop.
Virtual Host configuration for Ruby On Rails Application with Custom error log configuration.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<virtualhost *:80> | |
ServerName app.com | |
ServerAlias www.app.com | |
DocumentRoot /var/www/html/blog/public # <-- be sure to point to 'public'! | |
setenv RAILS_ENV production | |
<Directory /var/www/html/blog/public> | |
AllowOverride All | |
RailsEnv production | |
</Directory | |
ErrorLog /var/log/apache2/blog_error_log | |
CustomLog /var/log/apache2/blog_access_log common | |
</virtualhost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment