/loggerhead/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/loggerhead/trunk

« back to all changes in this revision

Viewing changes to apache-loggerhead.conf

  • Committer: Ubuntu One Auto Copilot
  • Author(s): Jelmer Vernooij
  • Date: 2023-02-03 20:03:20 UTC
  • mfrom: (547.1.1 lp:loggerhead)
  • Revision ID: otto-copilot@canonical.com-20230203200320-czhzowsk0q4v4g94
Upgrade Python code to a modern version

Merged from https://code.launchpad.net/~jelmer/loggerhead/pyupgrade/+merge/436797

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
### If you receive MemoryError tracebacks setting up loggerhead under mod_wsgi,
 
2
### read /usr/share/doc/loggerhead*/README for help
 
3
Alias /bzr/static /usr/share/loggerhead/static
 
4
RewriteEngine On
 
5
RewriteRule ^/bzr$ /bzr/ [R]
 
6
 
 
7
WSGIDaemonProcess loggerhead user=apache group=apache maximum-requests=1000 display-name=loggerhead processes=4 threads=1
 
8
WSGISocketPrefix run/wsgi
 
9
WSGIRestrictStdout On
 
10
WSGIRestrictSignal Off
 
11
 
 
12
WSGIScriptAlias /bzr /usr/bin/loggerhead.wsgi
 
13
 
 
14
<Location /bzr>
 
15
    WSGIProcessGroup loggerhead
 
16
    Order deny,allow
 
17
    Allow from all
 
18
</Location>
 
19