Hi,

I managed to install both mod_wsgi-express and mod_wsgi_httpd and get my 
site working by calling mod_wsgi-express with the standard parameters to 
generate the httpd.conf file.

Now, i have implemented a xmpp server and would like to incorporate it into 
my site. The requirements are that i need to install the proxy module and 
add the following lines to the apache config file.

sudo a2enmod proxy
sudo a2enmod proxy_http


Add to apache config file:

<VirtualHost *:443>
  ServerName mywebapp.com
  :
  ProxyPass /http-bind/ http://localhost:5280/http-bind/
  ProxyPassReverse /http-bind/ http://localhost:5280/http-bind/
  :
</VirtualHost>


In the generated httpd.conf file, i can see the following lines:

:
<IfDefine MOD_WSGI_WITH_PROXY>
<IfModule !proxy_module>
LoadModule proxy_module ${MOD_WSGI_MODULES_DIRECTORY}/mod_proxy.so
</IfModule>
<IfModule !proxy_http_module>
LoadModule proxy_http_module ${MOD_WSGI_MODULES_DIRECTORY}/mod_proxy_http.so
</IfModule>
</IfDefine>
:

Q1. What parameters should i pass to mod_wsgi-express to get it to 
configure the httpd.conf to include the modules ?

Q2. Can I use mod_wsgi-express to help me to add in the proxy lines or do i 
need to manually go through the <IfDefine> lines in the generated 
httpd.conf to see where to add in the lines ?

Thanks.

-- 
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.

Reply via email to