Sunday, May 8, 2016

Re: ubuntu+nginx+django urlpatterns 404 not found

What do you mean it doesn't work? What error message you get? Are you sure it is provided by Django and not the webserver?

Also, GMail is marking your message as a possible malware; consider pasting your urls.py inline instead of an attachment.

On May 8, 2016 15:39, "minom du" <minomdu@gmail.com> wrote:
Hello ,every body.
attachment is my code

i set the urls.py below 
urlpatterns += patterns('bullet.views.noticeview',
(r'^$', 'notice'),
(r'^board', 'board'),
)

the urlpatterns ^$ work fine
but ^board not work ,it show 404 not found

i have some code like this but work on windows+apache
it work fine

now i move it to ubuntu+nginx
then it not work

anyone can tell me how fix it ,please
thank you very much

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/48902712-26b6-4f3a-b465-ab4699f4dbfb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACczBULjH3QfyWGUVU7JqNxdkT71rp4yKKYGqnZLM8h%3DNuWp5Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment