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