Skip to content

Instantly share code, notes, and snippets.

@kishba
Created December 22, 2009 21:43
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 kishba/262083 to your computer and use it in GitHub Desktop.
Save kishba/262083 to your computer and use it in GitHub Desktop.
# Development (RadiantCMS) virtual host configuration
# http://dev.mps.k12.mi.us
<VirtualHost *:80>
DocumentRoot /var/www/apps/mycms/public
ServerName dev.mps.k12.mi.us
ErrorLog logs/dev-error_log
CustomLog logs/dev-access_log common
# The staff directory is hosted outside of the content management system
<Directory "/var/www/sites/www/directory/public">
PassengerEnabled off # <-- The secret sauce
AllowOverride All # <-- allow .htaccess files from WordPress, etc.
</Directory>
Alias /directory "/var/www/sites/www/directory/public/"
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment