Ok, so after making sure I was actually getting a connection (which I was) I decided to look over my Apache config files before getting back to the mod_wsgi hello world app. Long story short, everything in Apache is looking good. I then started back on the "hello world" mod_wsgi walk-through at http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide and believe it or not I worked on my first try. \o/ So, I think I can say that mod_wsgi is now installed and configured correctly? *If so*, then I can start asking why my Django app is not loading as everything else is working...I'll start back here http://docs.djangoproject.com/en/dev/howto/deployment/modwsgi/#basic-configuration and see what I might of done wrong, then ask again.
thanks for the help! j. On Dec 11, 8:44 am, j <[email protected]> wrote: > Yes, I have something listening there, that's for sure. It shows some > static page with some content. > > On Dec 10, 11:04 pm, Graham Dumpleton <[email protected]> > wrote: > > > > > > > > > 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.comwillnot work, that's for sure. > > > Locally, I'd do something likehttp://127.0.0.1:8000/myapp/butI'm > > > not local I have an IP address but 1.2.3.4/myapp/ is not working or > > >http://1.2.3.4/example/myappisnot 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.
