diff options
| author | Tim Graham <timograham@gmail.com> | 2014-02-18 09:29:22 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-02-18 09:32:41 -0500 |
| commit | a088ce90f2495d6da8678f60454ac427167de6bf (patch) | |
| tree | 8ee2f10615d58214f808d5bb4dd3f54a0c31d047 /docs | |
| parent | 14366ed33e4473c8c2f321f224dd62221adc7629 (diff) | |
[1.6.x] Fixed #22062 -- Corrected static files config for Apache >= 2.4
Backport of ffa238c3f7 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/howto/deployment/wsgi/modwsgi.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/howto/deployment/wsgi/modwsgi.txt b/docs/howto/deployment/wsgi/modwsgi.txt index c6437bed97..4bf2fca482 100644 --- a/docs/howto/deployment/wsgi/modwsgi.txt +++ b/docs/howto/deployment/wsgi/modwsgi.txt @@ -140,12 +140,12 @@ will be served using mod_wsgi:: <Directory /path/to/mysite.com/static> Order deny,allow - Allow from all + Require all granted </Directory> <Directory /path/to/mysite.com/media> Order deny,allow - Allow from all + Require all granted </Directory> WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py @@ -153,10 +153,13 @@ will be served using mod_wsgi:: <Directory /path/to/mysite.com/mysite> <Files wsgi.py> Order allow,deny - Allow from all + Require all granted </Files> </Directory> +If you are using a version of Apache older than 2.4, replace +``Require all granted`` with ``Allow from all``. + .. _lighttpd: http://www.lighttpd.net/ .. _Nginx: http://wiki.nginx.org/Main .. _TUX: http://en.wikipedia.org/wiki/TUX_web_server |
