Created
July 30, 2012 20:05
-
-
Save gabrielhpugliese/3209722 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 server_name | |
ServerAdmin [email protected] | |
AssignUserID user_name user_name | |
#DocumentRoot "/home/user_name/site_env/web_app/user_name/public/" | |
#<Directory /> | |
# Options FollowSymLinks | |
# AllowOverride None | |
#</Directory> | |
<Directory /home/user_name/site_env/public_html> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride None | |
Order allow,deny | |
allow from all | |
</Directory> | |
ScriptAlias /cgi-bin/ /home/user_name/site_env/cgi-bin | |
<Directory "/home/user_name/site_env/cgi-bin"> | |
AllowOverride None | |
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch | |
Order allow,deny | |
Allow from all | |
</Directory> | |
Alias /static "/home/user_name/site_env/public_html/" | |
<Directory "/home/user_name/site_env/public_html/"> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
</Directory> | |
Alias /uploads "/home/user_name/site_env/web_app/current/user_name/uploads/" | |
<Directory "/home/user_name/site_env/web_app/current/user_name/uploads/"> | |
Options Indexes FollowSymLinks MultiViews ExecCGI | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
</Directory> | |
WSGIScriptAlias / /home/user_name/site_env/web_app/current/user_name/django.wsgi | |
# Possible values include: debug, info, notice, warn, error, crit, | |
# alert, emerg. | |
LogLevel warn | |
CustomLog "||/usr/sbin/rotatelogs /home/user_name/site_env/logs/access_log 86400" common | |
ErrorLog "||/usr/sbin/rotatelogs /home/user_name/site_env/logs/error_log 86400" | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment