Django-fr

Forum

#1 18-06-2011 21:58:19

Toobian
Membre
Inscription : 18-06-2011
Messages : 1

Configuration apache avec mod_wsgi

Bonjour,

J'ai un soucis sur l'installation de mumble django à priori cela concerne le fichier mumble-django.wsgi. Voici l'erreur fourni par Apache :

[Sat Jun 18 22:52:19 2011] [error] [client XX.XXX.XXX.XXX] client denied by server configuration: /home/mumble/mumble-django/mumble-django.wsgi

Ainsi que la configuration de apache pour cet host :

<VirtualHost *:80>
        ServerName              mumble.toobian.fr

        Alias                   /static/        /home/mumble/mumble-django/htdocs/

    # for Debian squeeze(unstable)
        Alias                   /media/         /usr/lib/python2.7/site-packages/django/contrib/admin/media/
    # if self-installed using setup.py
    #Alias                  /media/         /usr/lib/python2.4/site-packages/django/contrib/admin/media/
    #Alias                  /media/         /usr/lib/python2.5/site-packages/django/contrib/admin/media/

        WSGIScriptAlias         /               /home/mumble/mumble-django/mumble-django.wsgi
        WSGIDaemonProcess       mumble-django user=http group=http threads=25
        WSGIProcessGroup        mumble-django
        WSGIScriptReloading     Off

        <Directory /home/mumble/mumble-django/htdocs>
                Order allow,deny
                Allow from all
        </Directory>
        <Directory /usr/lib/python2.7/site-packages/django/contrib/admin/media>
                Order allow,deny
                Allow from all
        </Directory>

</VirtualHost>
# ls -al /home/mumble/mumble-django/
total 848
drwxr-xr-x 9 http http   4096 17 juin  10:42 .
drwxr-xr-x 3 root root   4096 17 juin  10:34 ..
-rw-r--r-- 1 http http    811 17 juin  10:34 AUTHORS
-rw-r--r-- 1 http http  13973 17 juin  10:34 CHANGELOG
-rw-r--r-- 1 http http   4877 17 juin  10:34 COPYRIGHT
drwxr-xr-x 2 http http   4096 17 juin  11:43 db
drwxr-xr-x 4 http http   4096 17 juin  10:34 etc
drwxr-xr-x 2 http http   4096 17 juin  10:34 hg
drwxr-xr-x 4 http http   4096 17 juin  10:34 .hg
-rw-r--r-- 1 http http    147 17 juin  10:34 .hgignore
-rw-r--r-- 1 http http   1525 17 juin  10:34 .hgtags
drwxr-xr-x 4 http http   4096 17 juin  10:34 htdocs
-rw-r--r-- 1 http http   2439 17 juin  10:34 INSTALL
-rw-r--r-- 1 http http    733 17 juin  10:34 LICENSE
-rw-r--r-- 1 http http  17478 17 juin  10:34 logo_150x150.png
-rw-r--r-- 1 http http   1721 17 juin  10:34 logo_35x35.png
-rw-r--r-- 1 http http 132261 17 juin  10:34 logo_500x500.png
-rw-r--r-- 1 http http 575312 17 juin  10:34 logo.xcf
-rw-r--r-- 1 http http   2265 17 juin  10:34 mdd.py
-rwxr-xr-x 1 http http  10928 17 juin  10:34 muco.py
-rw-r--r-- 1 http http   1125 17 juin  10:34 mumble-django.fcgi
-rwxr-xr-x 1 http http    960 17 juin  10:34 mumble-django.wsgi
-rwxr-xr-x 1 http http   5394 17 juin  10:34 munin.py
drwxr-xr-x 6 http http   4096 17 juin  11:43 pyweb
-rw-r--r-- 1 http http   1100 17 juin  10:34 README
-rw-r--r-- 1 http http    308 17 juin  10:34 README.transifex
-rwxr-xr-x 1 http http   1769 17 juin  10:34 .release.sh
-rw-r--r-- 1 http http     50 17 juin  10:42 .secret.txt
drwxr-xr-x 2 http http   4096 17 juin  10:34 themes

Si quelqu'un avait une idée ça m'aiderai beaucoup, parce que je patauge...

Hors ligne

#2 22-06-2011 17:55:46

spacemax
Membre
Inscription : 22-06-2011
Messages : 1

Re : Configuration apache avec mod_wsgi

Bonjour,

Je ne connais pas django ni mumble mais regarde ce tuto spécial Débian peut-ere que ça t'aidera :
http://www.css-ressource.com/lewiki/ind … e_(Debian)

Moiu pour l'instant, je vais suivre ce tuto pour l'installation de Django avec Apache :

http://www.howtoforge.com/installing-dj … mod_python

En espérant t'avoir aidé

Hors ligne

#3 22-06-2011 19:01:50

Florian Strzelecki
Membre
Inscription : 11-08-2010
Messages : 40

Re : Configuration apache avec mod_wsgi

Pour tout ce qui est déploiement d'une application Django avec Apache (ou un
autre), je vous conseille Gunicorn.

Gunicorn pour Django : http://gunicorn.org/run.html#gunicorn-django
Tutoriel de Mathieu Agopian sur le proxy Apache -> Gunicorn :
http://mathieu.agopian.info/blog/2010/02/gunicorn-un-server-wsgi-ultra-simple-a-utiliser-et-configurer/
Autre tutoriel cette fois-ci pour gérer le service Gunicorn (avec Runit) :
http://mathieu.agopian.info/blog/2010/02/lancer-gunicorn-avec-runit/
Mon expérience personnelle :
http://blog.exirel.me/technique/apache-proxy-gunicorn-runit-django

L'utilisation de mod_python n'est plus vraiment recommandé, et pour l'avoir
tester, Gunicorn est une excellente solution pour un site en production,
d'autant plus qu'il est simple à utiliser dans sa configuration par défaut.

Le 22 juin 2011 18:55, spacemax <email.bidon _AT_ sfr.fr> a écrit :

> Bonjour,
>
> Je ne connais pas django ni mumble mais regarde ce tuto spécial Débian
> peut-ere que ça t'aidera :
>
> http://www.css-ressource.com/lewiki/index.php/Cr%C3%A9er_un_serveur_Mumble_(Debian)<http://www.css-ressource.com/lewiki/index.php/Cr%C3%A9er_un_serveur_Mumble_%28Debian%29>
>
> Moiu pour l'instant, je vais suivre ce tuto pour l'installation de Django
> avec Apache :
>
>
> http://www.howtoforge.com/installing-django-on-debian-etch-apache2-mod_python
>
> En espérant t'avoir aidé
> _______________________________________________
> django mailing list
> django _AT_ lists.afpy.org
> http://lists.afpy.org/mailman/listinfo/django
>

Hors ligne

#4 28-08-2013 07:58:07

ornammita
Membre
Inscription : 28-08-2013
Messages : 1
Site Web

Re : Configuration apache avec mod_wsgi

http://uxcoriji.gegahost.net/prodazhe-a … o-780.html   продаже аксесуаров для казино
http://inhaxixo.freeweb.pk/alessandra-a … l-542.html   алессандра амброзио в фильме казино рояль
http://uqdefak.zaghost.com/kompyuternye … a-720.html   компьютерные игры кто хочет стать миллионером слабое звено русская рулетка
http://ikwamuwe.zaghost.com/otzyvy-o-ka … a-362.html   отзывы о казино голдфишка
http://oshexuze.zaghost.com/sekretar-na … e-598.html   секретарь на ресепшн в казино в москве
http://erwudog.zaghost.com/ruletka-1-rubl-258.html   рулетка 1 рубль
http://urtowoqa.net16.net/sekret-igrovy … y-769.html   секрет игровые автоматы
http://emkosem.freeweb.pk/ruletka-gener … l-128.html   рулетка генератора случайных чисел
http://osnoreru.freeweb.pk/kazino-porno-815.html   казино порно
http://iwyupodo.gegahost.net/2332-88161 … a-555.html   2332 88161622234 ключ на веселая ферма русская рулетка
http://uqdefak.zaghost.com/saundtrek-k- … o-152.html   саундтрек к фильму казино бесплатно
http://osrasec.freeweb.pk/igrovye-avtom … y-711.html   игровые автоматы демо игры
http://aqzulena.net16.net/slot-igrovye- … i-355.html   слот игровые автоматы бесплатно скачать без регистрации
http://arlenoxo.freeweb.pk/kazino-oraku … a-972.html   казино оракул 28 января
http://erwudog.zaghost.com/zaregistriro … o-747.html   зарегистрироваться на игровые автоматы бесплатно


Игровые Автоматы За Веб Мани
Игровые Автоматы Для Кпк Glofiish M
Вакансии В Игровые Автоматы Вулкан В Петербурге
Игровые Автоматы Детские Продажа
Скачать Игровые Автоматы Бесплат Но


http://emlativu.freeweb.pk/nastoyashie- … i-170.html   настоящие игровые автоматы бесплатно без регистрации

Hors ligne

Pied de page des forums