Your main Apache is hosting port 80, not mod_wsgi-express instance. You would 
need to stop main Apache from listening on port 80. Then use —port option on 
mod_wsgi-express so that it uses port 80 instead of 8000 for plain HTTP.

Graham

> On 16 Mar 2019, at 21:40, Joel Mathew <j...@joel.su> wrote:
> 
> I'm using the following line to run mod_wsgi-express:
> 
> mod_wsgi-express setup-server wsgi.py --https-only --https-port 443 
> --server-name myopip.com --ssl-certificate-file ssl-certs/cert.pem 
> --ssl-certificate-key-file ssl-certs/privkey.pem --user www-data --group 
> www-data --url-alias /appointments/static ./appointments/static --url-alias 
> /clinic/static ./clinic/static
> 
> And starting it with:
> /tmp/mod_wsgi-localhost:8000:0/apachectl start
> 
> When I visit the https site, everything works. But on visiting http site I 
> get 403 forbidden. Earlier I used to get the default apache install page 
> before I deleted that file.
> Sincerely yours,
> 
>  Joel G Mathew
> 
> -- 
> 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 modwsgi+unsubscr...@googlegroups.com.
> To post to this group, send email to modwsgi@googlegroups.com.
> Visit this group at https://groups.google.com/group/modwsgi.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 modwsgi+unsubscr...@googlegroups.com.
To post to this group, send email to modwsgi@googlegroups.com.
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to