I can't that that you have told it where your WSGI application is and that it is allowed to host things from that directory. See:
https://modwsgi.readthedocs.io/en/develop/user-guides/quick-configuration-guide.html <https://modwsgi.readthedocs.io/en/develop/user-guides/quick-configuration-guide.html> > On 14 Sep 2018, at 6:05 pm, Alexandre Perraud <[email protected]> > wrote: > > mod_wsgi-express module-config > <modl.PNG> > > Put in httpd.conf : > > <htt.PNG> <about:invalid#zClosurez> > > And http://localhost/wsgi.py > > <py.PNG> <about:invalid#zClosurez> > > Errors logs : > > [Fri Sep 14 09:55:40.513824 2018] [mpm_winnt:notice] [pid 11948:tid 744] > AH00455: Apache/2.4.34 (Win64) mod_wsgi/4.6.4 Python/3.6 configured -- > resuming normal operations > > [Fri Sep 14 09:55:40.513824 2018] [mpm_winnt:notice] [pid 11948:tid 744] > AH00456: Apache Lounge VC15 Server built: Aug 15 2018 11:38:51 > > [Fri Sep 14 09:55:40.513824 2018] [core:notice] [pid 11948:tid 744] AH00094: > Command line: 'httpd.exe -d C:/Apache24' > > [Fri Sep 14 09:55:40.529573 2018] [mpm_winnt:notice] [pid 11948:tid 744] > AH00418: Parent: Created child process 7788 > > > Where did I make a mistake? > > Le vendredi 14 septembre 2018 00:13:44 UTC+2, Graham Dumpleton a écrit : > What configuration besides the output from 'mod_wsgi-express module-config' > did you put in the Apache configuration file? > > You also need to configure it to know about your WSGI application. > > Also, Apache doesn't usually listen on port 8000. Would use 'http://localhost > <http://localhost/>' only if on own box. > >> On 13 Sep 2018, at 10:08 pm, Alexandre Perraud <[email protected] <>> >> wrote: >> >> Thank you for your answer. >> >> >> I've seen I'm using python 3.6.4 32bits so I've uninstalled this and >> installed python 3.6.4 64 bits. >> Than I've installed Apache24 win64 VC15 (from Apachelounge) >> And I wrote : pip install mod_wsgi (with successful) and launched httpd.exe >> >> But localhost:8000 still doesn't work >> <zzz.PNG> >> >> I have a file wsgi.py in htdocs with basic code from >> https://modwsgi.readthedocs.io/en/develop/user-guides/quick-configuration-guide.html >> >> <https://modwsgi.readthedocs.io/en/develop/user-guides/quick-configuration-guide.html> >> >> The apache errors.log show : >> >> [Thu Sep 13 13:58:41.792680 2018] [mpm_winnt:notice] [pid 1664:tid 744] >> AH00455: Apache/2.4.34 (Win64) mod_wsgi/4.6.4 Python/3.6 configured -- >> resuming normal operations >> >> [Thu Sep 13 13:58:41.792680 2018] [mpm_winnt:notice] [pid 1664:tid 744] >> AH00456: Apache Lounge VC15 Server built: Aug 15 2018 11:38:51 >> >> [Thu Sep 13 13:58:41.792680 2018] [core:notice] [pid 1664:tid 744] AH00094: >> Command line: 'httpd.exe -d C:/Apache24' >> >> [Thu Sep 13 13:58:41.808300 2018] [mpm_winnt:notice] [pid 1664:tid 744] >> AH00418: Parent: Created child process 7444 >> >> [Thu Sep 13 13:58:42.185558 2018] [mpm_winnt:notice] [pid 7444:tid 816] >> AH00354: Child: Starting 64 worker threads. >> >> >> >> Le jeudi 13 septembre 2018 01:53:19 UTC+2, Alexandre Perraud a écrit : >> Hello, >> >> First, pardon my bad english... >> >> I'm trying to install mod_wsgi on Apache. >> >> 1/ I have downloaded Apache24 win 32 VC14 and I put in C:/Apache24 >> >> >> >> 2/ Already installed Python 3.6 since several months... I write in cmd : pip >> install mod_wsgi >> >> >> >> 3/ Then, mod_wsgi-express module-config >> >> and put in httpd.conf >> >> 4/ Launched httpd.exe and localhost:8000 doesn't work ? Maybe I don't >> understand how it's work ? >> >> Thank you for your help. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "modwsgi" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <>. >> To post to this group, send email to [email protected] <>. >> Visit this group at https://groups.google.com/group/modwsgi >> <https://groups.google.com/group/modwsgi>. >> For more options, visit https://groups.google.com/d/optout >> <https://groups.google.com/d/optout>. >> <zzz.PNG> > > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/modwsgi > <https://groups.google.com/group/modwsgi>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > <modl.PNG><htt.PNG><py.PNG> -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
