How is the httpd.conf generated in case of using mod_wsgi-express

59 views
Skip to first unread message

Amir Afianian

unread,
Nov 24, 2015, 10:17:52 AM11/24/15
to modwsgi
Hi all

I've recently used mod_wsgi to have apache as my django sever and it's made the process incredibly easy thanks to Graham.

I am however wondering how and based upon what the httpd.conf file is generated while issuing the command: $python manage.py runmodwsgi? 
I want to enable processing of the xsendfile header and it needs to be activated by putting the statement: "XSendFile on" under the virutal host in traditional httpd.conf or 000-default.conf in  the new structure. 

So my question being, how are the customization to the apache configuration like the one I mentioned are applied when using the mod_wsgi-express? How can I tell mod_wsgi express to include my configs made to apache defaults?

Graham Dumpleton

unread,
Nov 24, 2015, 7:09:33 PM11/24/15
to mod...@googlegroups.com
If you want to add extra configuration, you use the —include-file option to mod_wsgi-express, or runmodwsgi when using Django admin command.

More details in your other question on similar topic at:


Graham

Senior.IT90

unread,
Nov 25, 2015, 4:03:23 AM11/25/15
to mod...@googlegroups.com
Dear Graham
Hello

I am really intrigued by your personality and the time you spend to contribute to science and help people. You are amazing. I sent this email to express my gratitude. Thank you.

Sent from my iPhone
--
You received this message because you are subscribed to a topic in the Google Groups "modwsgi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/modwsgi/O9twFji34xM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to modwsgi+u...@googlegroups.com.
To post to this group, send email to mod...@googlegroups.com.
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages