Wednesday, August 29, 2018

Re: Deploying with apache2 and modwsgi

I surmised as much. But where does it go? Do you have a full working
configuration of the conf file?


On Wed, 29 Aug 2018 at 19:17, Jason <jjohns98684@gmail.com> wrote:
>
> well, that's self-explainatory. you have a bad config because that WSGIPythonHome directive can't exist inside a VirtualHost section.
>
> On Wednesday, August 29, 2018 at 9:36:20 AM UTC-4, Joel wrote:
>>
>> I get this:
>>
>> Aug 29 12:24:52 localhost systemd[1]: Starting The Apache HTTP Server...
>> Aug 29 12:24:52 localhost apachectl[12718]: AH00526: Syntax error on
>> line 31 of /etc/apache2/sites-enabled/000-default.conf:
>> Aug 29 12:24:52 localhost apachectl[12718]: WSGIPythonHome cannot
>> occur within <VirtualHost> section
>> Aug 29 12:24:52 localhost apachectl[12718]: Action 'start' failed.
>> Aug 29 12:24:52 localhost apachectl[12718]: The Apache error log may
>> have more information.
>> Aug 29 12:24:52 localhost systemd[1]: apache2.service: Control process
>> exited, code=exited status=1
>> Aug 29 12:24:52 localhost systemd[1]: Failed to start The Apache HTTP Server.
>> Aug 29 12:24:52 localhost systemd[1]: apache2.service: Unit entered
>> failed state.
>> Aug 29 12:24:52 localhost systemd[1]: apache2.service: Failed with
>> result 'exit-code'.
>>
>> On Wed, 29 Aug 2018 at 17:12, Jason <jjohn...@gmail.com> wrote:
>> >
>> > just to cnfirm, are you using mod_wsgi3 for python3?
>> >
>> > and what do you get when you run apachectl configtest
>> >
>> > --
>> > 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...@googlegroups.com.
>> > To post to this group, send email to django...@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/f290afe5-bd7c-467c-890b-e0faef16ad03%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/9f2d7bed-9eb4-4bfa-bdee-5e1e5c52f6a6%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/CAA%3Diw__Ko31H3pr9_rqm3-S_1LzvdXQ5gR6BgtH5J4hxeazWYA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment