If you are only hosting the web site over HTTP and not HTTPS, you do not need 
to do anything more with mod_wsgi itself as it will by default accept 
connections from outside of your box. All you need to do is have a DNS entry 
which refers to the IP for your box. If only wanting to test a FQDN locally, 
add an alias to /etc/hosts file.

Graham

> On 25 Mar 2016, at 9:35 PM, Ian Jones <[email protected]> wrote:
> 
> Thanks Graham.
> 
> Just managed to start it successfully on port 80 :-)
> 
> Am I able to now configure a domain name etc so I can see my site from the 
> outside world? I'm only seeing it as 127.0.0.0 at present.
> 
> What configuration settings will I need to change within the mod_wsgi 
> environment for this to work.?
> 
> Thanks
> 
> Ian
> 
> 
> 
> 
> 
> 
> On Friday, 25 March 2016 00:00:21 UTC, Graham Dumpleton wrote:
> The --setup-only option only results in the configuration being generated, 
> Were you do the following step of running:
> 
>     /etc/mod_wsgi-express-80/apachectl start
> 
> Graham
> 
>> On 25 Mar 2016, at 4:43 AM, Ian Jones <xplan...@ <>gmail.com 
>> <http://gmail.com/>> wrote:
>> 
>> Hi,
>> 
>> 
>> 
>> I'm trying to run my django project with runmodwsgi on port 80.
>> 
>> 
>> 
>> It works fine with this command python manage.py runmodwsgi but that's on 
>> port 8000.
>> 
>> 
>> 
>> But when I try the command below which I got from site  
>> https://pypi.python.org/pypi/mod_wsgi 
>> <https://pypi.python.org/pypi/mod_wsgi>  nothing is served on port 80, even 
>> though it says successfully ran (See below).
>> 
>> Also. there is no error_log generated at /etc/mod_wsgi-express-80.
>> 
>> 
>> 
>> I'm running it as root but with a user and group. I don't have a system wide 
>> Apache just the one in my virtual env as per Graham Dumpleton's pip install 
>> mod_wsgi-httpd and 
>> 
>> pip install mod_wsgi.
>> 
>> 
>> 
>> Any help appreciated
>> 
>> 
>> 
>> Ian
>> 
>> 
>> 
>> 
>> 
>> [Running on Red Hat platform]
>> 
>> 
>> 
>> 
>> 
>> (myproject)[root@ip-172-31-44-33 trydjango18]# python manage.py runmodwsgi 
>> --setup-only --port=80 --user ec-user --group ec-user 
>> --server-root=/etc/mod_wsgi-express-80
>> 
>> Successfully ran command.
>> 
>> Server URL         : http://localhost/ <http://localhost/>
>> Server Root        : /etc/mod_wsgi-express-80
>> 
>> Server Conf        : /etc/mod_wsgi-express-80/httpd.conf
>> 
>> Error Log File     : /etc/mod_wsgi-express-80/error_log (warn)
>> 
>> Rewrite Rules      : /etc/mod_wsgi-express-80/rewrite.conf
>> 
>> Environ Variables  : /etc/mod_wsgi-express-80/envvars
>> 
>> Control Script     : /etc/mod_wsgi-express-80/apachectl
>> 
>> Request Capacity   : 5 (1 process * 5 threads)
>> 
>> Request Timeout    : 60 (seconds)
>> 
>> Queue Backlog      : 100 (connections)
>> 
>> Queue Timeout      : 45 (seconds)
>> 
>> Server Capacity    : 20 (event/worker), 20 (prefork)
>> 
>> Server Backlog     : 500 (connections)
>> 
>> 
>> Locale Setting     : en_US.UTF-8
>> 
>> 
>> 
>> -- 
>> 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+u...@ <>googlegroups.com <http://googlegroups.com/>.
>> To post to this group, send email to mod...@ <>googlegroups.com 
>> <http://googlegroups.com/>.
>> Visit this group at https://groups.google.com/group/modwsgi 
>> <https://groups.google.com/group/modwsgi>.
>> For more options, visit https://groups.google.com/d/optout 
>> <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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/modwsgi 
> <https://groups.google.com/group/modwsgi>.
> For more options, visit https://groups.google.com/d/optout 
> <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