: django docs, mac osx lion üzerinde mod_wsgi https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/modwsgi/ kullanarak django 1.4'i apache'ye nasıl dağıtacağımı ve WSGIPythonPath'ı eklediğimde Direktif apache yeniden başlayamaz. Onsuz benim app yolunda olmayan var. günlüğünde burada VirtualHost bölümündedjango 1.4 için mod_wsgi yapılandırılırken apache, sanal ana bilgisayar yapılandırıcısına WSGIPythonPath ekledikten sonra mac osx'te başlatılamıyor
içinde meydana edemez
WSGIPythonPath okur bir hata benim sanal konak yapılandırma ben yanlış yapıyorum
<VirtualHost *:80> ServerAdmin [email protected] DocumentRoot "/Users/jamo/code/work/projects/bfpd/fapp" ServerName bfpd.dev ServerAlias bfpd.dev ErrorLog "/private/var/log/apache2/bfpd.dev-error_log" CustomLog "/private/var/log/apache2/bfpd.dev-access_log" common Alias /static/ /Users/jamo/code/work/projects/bfpd/fapp/fapp/static/ <Directory /Users/jamo/code/work/projects/bfpd/fapp/fapp/static> Options Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews AllowOverride All Order allow,deny Allow from all IndexOptions FancyIndexing </Directory> WSGIScriptAlias//Users/jamo/code/work/projects/bfpd/fapp/fapp/wsgi.py WSGIPythonPath /Users/jamo/code/work/projects/bfpd/fapp/ <Directory /Users/jamo/code/work/projects/bfpd/fapp/fapp> Options Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost>
neye benzediğini edilir alıyorum? ??
'WSGIPythonPath/Users/jamo/code/work/projects/bfpd/fapp /' adresinin http.conf –
içinde olması gerekir, kendi sorunuzu cevaplayın ve 2 gün içinde kabul edin, böylece başkalarının bu cevabı görmesini sağlayın kolayca. Anlamana sevindim! Eminim gelecekte birilerine yardım edeceğinden eminim. –
httpd'ye yazma erişimi olmayan bir paylaşılan sunucuda dağıtım yapmak başka alternatifler var mı? – hobs