Sha256: 99c4d08be5736fb369365ca260aa2ef44964aab2523a85039a4670082f1b6d52
Contents?: true
Size: 740 Bytes
Versions: 6
Compression:
Stored size: 740 Bytes
Contents
<VirtualHost *:80> ServerName <%= server_name %> SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE <%= application %>.<%= settings %> PythonPath "['<%= deploy_to %>/<%= application %>', '<%= deploy_to %>'] + sys.path" PythonDebug Off Alias /<%= media_root %> <%= media_root_path%> <Directory "<%= deploy_to %>"> Options FollowSymLinks Order deny,allow Allow from all </Directory> <Location "/<%= media_root %>"> SetHandler None </Location> RewriteEngine On RewriteCond <%= system_path %>/maintenance.html -f RewriteCond %{REQUEST_URI} !/<%= media_root %>/system/maintenance.html RewriteRule $ /<%= media_root %>/system/maintenance.html [R=302,L] </VirtualHost>
Version data entries
6 entries across 6 versions & 1 rubygems