URL Rewrite problem in lighttpd
I have a django site deployed on lighttpd running on FreeBSD, using FastCGI.
When I specify a URL, for example, http://www.site.com/blog, the debug
program will say 404 and claim that I passed the URL mysite.fcgi/blog.
However, if I put a trailing slash on the URL, everything works fine.
My URL rewrite looks like so:
url.rewrite-once += (
"^(/.*)$" => "/mysite.fcgi$1",
)
To make matters even more confusing, I have a second site running in
the exact same way which is unaffected by this problem. Any help with
this would be appreciated.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
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