> On 2 Mar 2016, at 2:30 AM, Iman Yeckehzaare <[email protected]> wrote:
> 
> Hi,
> 
> I have developed a Django 1.8 application using Python 3.3. I am trying to 
> deploy the application on a university dedicated server with Red Hat 
> Enterprise Linux Server release 7.2 (Maipo). (Note: RHEL does not let me 
> install newer versions of Django and Python)
> 
> I had difficulty with installing mod_wsgi using the RHEL Apache and I ended 
> up installing:
> 
>     pip install -U mod_wsgi-httpd
>     pip install mod_wsgi
> 
> Everything works perfectly when I use the following setup:
> 
>     python manage.py runmodwsgi --setup-only --port=80 --user=iman 
> --group=root --server-root=/etc/mod_wsgi-express-80
> 
> However, when I want to setup HTTPS, using the following setup does not 
> return any error message, but the website does not show up neither with 
> http:// nor with https:// prefixes.
> 
>     python manage.py runmodwsgi --setup-only --port=80 --user=iman 
> --group=root --server-root=/etc/mod_wsgi-express-80 --https-only 
> --https-port=443 --ssl-certificate-file=/etc/sslcert/iman.crt 
> --ssl-certificate-key-file=/etc/sslcert/private/iman.key 
> --ssl-ca-certificate-file=/etc/sslcert/certs/ca-bundle.crt 
> --server-name=iman123.university.edu
> 
> Thank you so much for your time and concern and apologies in advance if I am 
> doing something wrong.

With that last time, as you are using —setup-only, it is only generating 
configuration into /etc/mod_wsgi-express-80.

Have you then as root run:

    /etc/mod_wsgi-express-80/apachectl start

What messages were logged in the log file at:

    /etc/mod_wsgi-express-80/error_log

Is it possible that the existing Apache is already running on port 80?

The error for this would only show up in the error log file.

Graham

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