Thank you. Could you explain a wee bit more? Do I just stop the apache
process? Or do I need to modify settings of the main apache server?
Sincerely yours,

 Joel G Mathew



On Sat, 16 Mar 2019 at 19:47, Graham Dumpleton <[email protected]>
wrote:

> 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 <[email protected]> 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 [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.
>
> --
> 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.
>

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