~ubuntu-branches/ubuntu/saucy/swift/saucy

« back to all changes in this revision

Viewing changes to examples/apache2/container-server.template

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Chuck Short, Yolanda Robla
  • Date: 2013-07-02 10:26:07 UTC
  • mfrom: (1.2.20)
  • Revision ID: package-import@ubuntu.com-20130702102607-w1u13cdwecdpgmr6
Tags: 1.9.0-0ubuntu1
[ Chuck Short ]
* New upstream release.
* debian/swift.install: Add swift-config.
* debian/control: Nump standards version to 3.9.4
 
[ Yolanda Robla ]
* debian/tests: added autopkg tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Container Server VHOST Template For Apache2
 
2
#
 
3
# Change %PORT% to the port that you wish to use on your system
 
4
# Change %SERVICENAME% to the service name you are using
 
5
# Change the debug level as you see fit
 
6
#
 
7
# For example:
 
8
#     Replace %PORT% by 6011
 
9
#     Replace %SERVICENAME% by container-server-1
 
10
 
 
11
NameVirtualHost *:%PORT%
 
12
Listen %PORT%
 
13
 
 
14
<VirtualHost *:%PORT%>
 
15
    WSGIDaemonProcess %SERVICENAME% processes=5 threads=1
 
16
    WSGIProcessGroup %SERVICENAME%
 
17
    WSGIScriptAlias / /var/www/swift/%SERVICENAME%.wsgi
 
18
    WSGIApplicationGroup %{GLOBAL}
 
19
    LimitRequestFields 200
 
20
    ErrorLog /var/log/%APACHE_NAME%/%SERVICENAME%
 
21
    LogLevel debug
 
22
    CustomLog /var/log/%APACHE_NAME%/access.log combined
 
23
</VirtualHost>