Skip to content

Instantly share code, notes, and snippets.

@justinkelly
Created August 3, 2010 06:06
Show Gist options
  • Save justinkelly/505924 to your computer and use it in GitHub Desktop.
Save justinkelly/505924 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
# Admin email, Server Name (domain name) and any aliases
ServerAdmin [email protected]
ServerName redmine.yourdomain.com
DocumentRoot /usr/share/redmine/public
# Custom log file locations
LogLevel warn
ErrorLog /home/you/public_html/yourdomain.com/log/error.log
CustomLog /home/you/public_html/yourdomain.com/log/access.log combined
RailsEnv production
RailsBaseURI /
PassengerDefaultUser www-data
<Directory /usr/share/redmine/public>
Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment