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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/ac0f1df9-2506-4c22-b7d4-52fdce4e6bf2%40googlegroups.com.

Reply via email to