Perhaps better to watch:

https://www.youtube.com/watch?v=H6Q3l11fjU0 
<https://www.youtube.com/watch?v=H6Q3l11fjU0>

it distills some of the keys things need to know.

> On 14 Nov 2019, at 7:24 am, Paul Michalski <[email protected]> wrote:
> 
> Hi,
> I'm trying to understand the httpd.conf file created for a Django project 
> when I use runmodwsgi. My goal was to follow that file and use it to write my 
> own smaller config file and store it in /etc/httpd/conf.d so it would load 
> with the system Apache on startup. 
> 
> Following along with several tutorials, I expected to find a WSGIScriptAlias 
> tag somewhere in the file, but it's not there. Instead, there are 
> WSGIHandlerScript and WSGIImportScript tags, which load a handler.wsgi file 
> that does some extra processing. I tried putting those tags in a VirtualHost 
> setup in my config file, along with the usual WSGIDaemonProcess and 
> WSGIProcessGroup tags, with the appropriate python path, python home, etc. I 
> made sure that apache could read the handler file (Require all granted). When 
> I start the Apache server it just serves some default page (it has the title 
> "Index of /").
> 
> So my question is, how does the config file use the handler.wsgi script and 
> not need WSGIScriptAlias? What other pieces need to be in place to make this 
> setup work?
> 
> Thanks,
> Paul
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/modwsgi/ac0f1df9-2506-4c22-b7d4-52fdce4e6bf2%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/modwsgi/ac0f1df9-2506-4c22-b7d4-52fdce4e6bf2%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/F8391289-1863-4320-9BF9-7E7655070875%40gmail.com.

Reply via email to