Mercurial > ~darius > hgwebdir.cgi > iwws
changeset 3:942d4cfc2538
Add static alias.
Correct typos in demo paths.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Mon, 15 Aug 2011 19:05:23 +0930 |
parents | 142684bbfdc0 |
children | faacb77ce8f4 |
files | README.txt |
diffstat | 1 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/README.txt Mon Aug 15 17:56:25 2011 +0930 +++ b/README.txt Mon Aug 15 19:05:23 2011 +0930 @@ -2,10 +2,16 @@ - Create Apache config containing.. WSGIRestrictStdout Off -WSGIDaemonProcess iwws user=myuser group=users threads=5 home=/path/to/pywwsiwws processes=5 maximum-requests=10000 +WSGIDaemonProcess iwws user=myuser group=users threads=5 home=/path/to/pywws/iwws processes=5 maximum-requests=10000 WSGIScriptAlias /iwws /path/to/pywwsiwws/iwws.wsgi -<Directory /path/to/pywwsiwws> +Alias /static /path/to/pywws/iwws +<Directory /path/to/pywws/iwws/static> + Order deny,allow + Allow from all +</Directory> + +<Directory /path/to/pywws/iwws> WSGIProcessGroup iwws WSGIApplicationGroup %{GLOBAL} WSGIScriptReloading On