Wednesday, March 14, 2012

WSGI Issues - webfaction

Hey folks,

I've finally got my app ready to put it online and got an account over at webfaction.  I've set everything setup and configured, but I missed a step somewhere and not sure exactly which one.  When I type in my url I get a 404 as shown below.  However, the message appears as though it is running django and accessing the appropriate url's file.

Normally I would run my app as follows: localhost:8080/myapp/index/ or something like that.  However, if I try just my domain name I get the 404, if I append /myapp/index/ to the end of my domain name (ie - http://www.mysite.com/myapp/index/ I still get the same error.

I've never used WSGI before, but have an idea of what's going on.  I've been reading all the webfaction doces too.  Does anyone now how I can fix this issue in a hurry?  Thanks.  


Page not found (404)

Request Method:GET
Request URL:http://www.mysite.com/

Using the URLconf defined in myurls.urls, Django tried these URL patterns, in this order:

  1. ^myapp/

The current URL, , didn't match any of these.

You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/PavviyLAwUoJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate