On 11 December 2010 14:49, j <[email protected]> wrote:
> I don't know if where I should ask this but seeing as I'm determined
> to learn how to configure mod_wsgi for Apache I figure I'd ask here. I
> have some great resources for a hello world mod_wsgi program among
> others but I'm clueless about something. I'm doing this on a VPS and
> I'm not doing it locally on my machine...so my problem is what address
> do I go to once I decide I have my "hello world" wsgi program
> configured correctly. www.example.com will not work, that's for sure.
> Locally, I'd do something like http://127.0.0.1:8000/myapp/ but I'm
> not local I have an IP address but 1.2.3.4/myapp/ is not working or
> http://1.2.3.4/example/myapp is not working either. So, if my app is
> in /var/www/wsgi-scripts what would I put in my address bar to get to
> that wsgi application? I know this is computer 101, but I can't seem
> to get a straight answer from anyone about this and thought I'd try
> here before I start again on configuring my app with Apache and
> mod_wsgi That way I can focus on getting the setting correct.

Presuming you have actually got the right IP address, first confirm
whether anything listening on port 80, ie., the web server.

You can do this by doing a telnet to that port.

  telnet 1.2.3.4 80

If you get something like:

Connected to django-1.example.com.
Escape character is '^]'.

then you at least know the server is listening.

Then try point web server at the same and see what happens:

  http://1.2.3.4

Does it show at least a static page with some content, or does it not
connect or give an error.

In other words, before looking at whether your configuration even
works, lets see if you even have something listening there first.

Graham

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to