Thursday, May 30, 2019

Re: Django wsgi apache Deploy project

 thank you everyone I managed the deployment

Le mar. 7 mai 2019 à 18:48, Subhodeep Das <subhodeepdas777@gmail.com> a écrit :

Try:

WSGIScriptAlias /test/tc-test /var/www/stage/hello/tc-test/django.wsgi

You shouldn't have trailing slash on first argument.


On Tue, May 7, 2019 at 7:27 PM N'BE SORO <soro4827@gmail.com> wrote:

Hi I'm a beginner in python and I realized a project in Django. I have problems in hosting my project. here is my code in the 000-default.conf <VirtualHost *: 80> #ServerName #ServerAlias ServerAdmin webmaster @ localhost DocumentRoot / var / www / html / ecommerce WSGIScriptAlias ​​/ /var/www/html/ecommerce/ecommerce/wsgi.py WSGIPythonPath / var / www / html / ecommerce / ErrorLog $ {APACHE_LOG_DIR} /error.log CustomLog $ {APACHE_LOG_DIR} /access.log combined </ VirtualHost> and I have this error Invalid command 'WSGIScriptAlias / /var / www / html / ecommerce / ecommerce / wsgi.py ', perhaps misspelled or d efined by a module not included in the server configuration

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1912bcdc-cb2f-45a2-932c-d579eb944c0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJEaip7ZtWWZW--O9Z2nqvVypwLe8CMRVSPboc28yoNkaLMV%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAOtSHp--MqaZPhUZiPUgBdBEMp%2B2F0Mm_uQHJ%2But1_qHh75d4A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment