Changes between Version 10 and Version 11 of InstallationGuidelines/Cherokee


Ignore:
Timestamp:
05/26/11 21:46:29 (10 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/Cherokee

    v10 v11  
    4848</uwsgi>
    4949EOF
     50
     51vi /etc/cherokee/cherokee.conf
     52# Add
     53vserver!20!collector!enabled = 1
     54vserver!20!directory_index = index.html
     55vserver!20!document_root = /var/www
     56vserver!20!error_writer!filename = /var/log/cherokee/cherokee.error
     57vserver!20!error_writer!type = file
     58vserver!20!logger = combined
     59vserver!20!logger!access!buffsize = 16384
     60vserver!20!logger!access!filename = /var/log/cherokee/cherokee.access
     61vserver!20!logger!access!type = file
     62vserver!20!match = wildcard
     63vserver!20!match!domain!1 = *
     64vserver!20!match!nick = 0
     65vserver!20!nick = maintenance
     66vserver!20!rule!210!handler = file
     67vserver!20!rule!210!match = fullpath
     68vserver!20!rule!210!match!fullpath!1 = /maintenance.html
     69vserver!20!rule!110!handler = redir
     70vserver!20!rule!110!handler!rewrite!10!regex = ^/*
     71vserver!20!rule!110!handler!rewrite!10!show = 1
     72vserver!20!rule!110!handler!rewrite!10!substring = /maintenance.html
     73vserver!20!rule!110!match = directory
     74vserver!20!rule!110!match!directory = /
     75vserver!20!rule!10!handler = common
     76vserver!20!rule!10!handler!iocache = 1
     77vserver!20!rule!10!match = default
     78vserver!30!collector!enabled = 1
     79vserver!30!directory_index = index.html
     80vserver!30!document_root = /var/www
     81vserver!30!error_writer!filename = /var/log/cherokee/cherokee.error
     82vserver!30!error_writer!type = file
     83vserver!30!logger = combined
     84vserver!30!logger!access!buffsize = 16384
     85vserver!30!logger!access!filename = /var/log/cherokee/cherokee.access
     86vserver!30!logger!access!type = file
     87vserver!30!match = wildcard
     88vserver!30!match!domain!1 = *
     89vserver!30!match!nick = 0
     90vserver!30!nick = Production
     91vserver!30!rule!400!document_root = /home/web2py/applications/eden/static
     92vserver!30!rule!400!handler = file
     93vserver!30!rule!400!match = directory
     94vserver!30!rule!400!match!directory = /eden/static/
     95vserver!30!rule!300!handler = redir
     96vserver!30!rule!300!handler!rewrite!10!regex = /(.*)
     97vserver!30!rule!300!handler!rewrite!10!show = 1
     98vserver!30!rule!300!handler!rewrite!10!substring = /eden/$1
     99vserver!30!rule!300!match = not
     100vserver!30!rule!300!match!right = directory
     101vserver!30!rule!300!match!right!directory = /eden
     102vserver!30!rule!300!match!right!request = ^/$
     103vserver!30!rule!200!handler = uwsgi
     104vserver!30!rule!200!handler!balancer = round_robin
     105vserver!30!rule!200!handler!balancer!source!10 = 1
     106vserver!30!rule!200!handler!check_file = 0
     107vserver!30!rule!200!handler!error_handler = 1
     108vserver!30!rule!200!handler!modifier1 = 0
     109vserver!30!rule!200!handler!modifier2 = 0
     110vserver!30!rule!200!handler!pass_req_headers = 1
     111vserver!30!rule!200!match = directory
     112vserver!30!rule!200!match!directory = /
     113vserver!30!rule!100!handler = common
     114vserver!30!rule!100!handler!iocache = 1
     115vserver!30!rule!100!match = default
     116source!1!env_inherited = 1
     117source!1!group = web2py
     118source!1!host = 127.0.0.1:59025
     119source!1!interpreter = /usr/local/bin/uwsgi -s 127.0.0.1:59025 -x /home/web2py/uwsgi.xml
     120source!1!nick = uWSGI 1
     121source!1!type = interpreter
     122source!1!user = web2py
    50123}}}
    51124=== FastCGI ===