Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
0f37d2e4
Kaydet (Commit)
0f37d2e4
authored
Nis 15, 2014
tarafından
Tim Graham
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #22392 -- Corrected deployment instructions for Apache 2.4.
Thanks zjcheah at yahoo.com for the report.
üst
401be8a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
modwsgi.txt
docs/howto/deployment/wsgi/modwsgi.txt
+4
-6
No files found.
docs/howto/deployment/wsgi/modwsgi.txt
Dosyayı görüntüle @
0f37d2e4
...
...
@@ -26,7 +26,8 @@ Basic configuration
Once you've got mod_wsgi installed and activated, edit your Apache server's
``httpd.conf`` file and add the following. If you are using a version of Apache
older than 2.4, replace ``Require all granted`` with ``Allow from all``.
older than 2.4, replace ``Require all granted`` with ``Allow from all`` and
also add the line ``Order deny,allow`` above it.
.. code-block:: apache
...
...
@@ -35,7 +36,6 @@ older than 2.4, replace ``Require all granted`` with ``Allow from all``.
<Directory /path/to/mysite.com/mysite>
<Files wsgi.py>
Order deny,allow
Require all granted
</Files>
</Directory>
...
...
@@ -142,12 +142,10 @@ will be served using mod_wsgi::
Alias /static/ /path/to/mysite.com/static/
<Directory /path/to/mysite.com/static>
Order deny,allow
Require all granted
</Directory>
<Directory /path/to/mysite.com/media>
Order deny,allow
Require all granted
</Directory>
...
...
@@ -155,13 +153,13 @@ will be served using mod_wsgi::
<Directory /path/to/mysite.com/mysite>
<Files wsgi.py>
Order allow,deny
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``.
``Require all granted`` with ``Allow from all`` and also add the line
``Order deny,allow`` above it.
.. _lighttpd: http://www.lighttpd.net/
.. _Nginx: http://wiki.nginx.org/Main
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment