Re: [modwsgi] mod_wsgi-express SSL implementation error

2016-09-17 Thread peter hoth
It works! I modify the /etc/hosts as you suggested. Thanks Graham for your fast reply and help ! On Sunday, September 18, 2016 at 1:07:46 PM UTC+8, Graham Dumpleton wrote: > > If you read through the email I said that --allow-locahost likely wouldn’t > work because of how Apache can interpre

Re: [modwsgi] mod_wsgi-express SSL implementation error

2016-09-17 Thread Graham Dumpleton
If you read through the email I said that --allow-locahost likely wouldn’t work because of how Apache can interpreter localhost and override what you want. That is why I said you needed to use a proper host name with --server-name and not use ‘localhost’. Did you try that? Repeating what I said

Re: [modwsgi] mod_wsgi-express SSL implementation error

2016-09-17 Thread peter hoth
I did add the option --allow-localhost and i still get the 403 Forbidden response from the server. mod_wsgi-express setup-server --user admin --group admin webapp.wsgi -- startup-log --access-log \ --port=80 --server-root=/usr/local/webapp \ --https-port 443 --https-only --allow-localhost --serve

Re: [modwsgi] mod_wsgi-express SSL implementation error

2016-09-17 Thread Graham Dumpleton
In general a HTTPS site should have a proper fully qualified domain name which matches what is in the certificate. You wouldn’t use ‘localhost’ for the server name. For a start, try adding the option: —allow-localhost Depending on the platform this still may not work though as I recollect