Skip to content

Instantly share code, notes, and snippets.

@amalc
Last active December 19, 2015 23:08
Show Gist options
  • Save amalc/6032427 to your computer and use it in GitHub Desktop.
Save amalc/6032427 to your computer and use it in GitHub Desktop.
Apache stanza with JAVA_HOME and RailsEnv
<VirtualHost *:80>
ServerName sc-msg.khnum-3
DocumentRoot /s/sc-msg/current/public    
RailsEnv staging
SetEnv JAVA_HOME /usr/lib/jvm/java-1.7.0
ErrorLog logs/staging.errors.sc-msg.log
CustomLog logs/staging.access.sc-msg.log common
<Directory /s/sc-msg/current/public>
AllowOverride all
Options -MultiViews
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment