Changes between Version 21 and Version 22 of InstallationGuidelines/Linux/Server/CherokeePostgreSQL


Ignore:
Timestamp:
01/27/12 22:56:41 (10 years ago)
Author:
Praneeth Bodduluri
Comment:

Maintenance page added - Compile changed to respect uwsgi scripts

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/Linux/Server/CherokeePostgreSQL

    v21 v22  
    239239vserver!30!directory_index = index.html
    240240vserver!30!document_root = /var/www
     241vserver!30!error_handler = error_redir
     242vserver!30!error_handler!503!show = 0
     243vserver!30!error_handler!503!url = /maintenance.html
    241244vserver!30!error_writer!filename = /var/log/cherokee/cherokee.error
    242245vserver!30!error_writer!type = file
     
    249252vserver!30!match!nick = 0
    250253vserver!30!nick = Production
     254vserver!30!rule!700!expiration = epoch
     255vserver!30!rule!700!expiration!caching = no-cache
     256vserver!30!rule!700!expiration!caching!must-revalidate = 1
     257vserver!30!rule!700!expiration!caching!no-store = 1
     258vserver!30!rule!700!expiration!caching!no-transform = 1
     259vserver!30!rule!700!expiration!caching!proxy-revalidate = 1
     260vserver!30!rule!700!flcache = forbid
     261vserver!30!rule!700!handler = common
     262vserver!30!rule!700!handler!allow_dirlist = 0
     263vserver!30!rule!700!handler!allow_pathinfo = 0
     264vserver!30!rule!700!match = fullpath
     265vserver!30!rule!700!match!fullpath!1 = /maintenance.html
    251266vserver!30!rule!400!document_root = /home/web2py/applications/eden/static
    252267vserver!30!rule!400!encoder!deflate = allow
     
    365380
    366381cat << EOF > "/usr/local/bin/compile"
    367 #!/bin/sh
     382#!/bin/bash
     383/etc/init.d/uwsgi stop
    368384cd ~web2py
    369385python web2py.py -S eden -R applications/eden/static/scripts/tools/compile.py
    370 /etc/init.d/cherokee restart
     386/etc/init.d/uwsgi start
    371387EOF
    372388chmod +x /usr/local/bin/compile