Files
2012-02-21 01:15:00 -05:00

1 line
2.7 KiB
JSON

[{"user_id": 14783, "stars": [], "topic_id": 8291, "date_created": 1298459090.312891, "message": "my Lighttpd conf is as follows", "group_id": 81, "id": 186754}, {"user_id": 14783, "stars": [], "topic_id": 8291, "date_created": 1298459073.2712049, "message": "I'm having a problem with Django, Lighttpd and FastCGI. When I access a url \"http://mysite.com/myapp/myview/\" it works fine, but when I leave out the trailing \"/\" it redirects to \"http://mysite.com/myfcgihandler.fcgi/myapp/myview\". AQny reason why it rewrites the url?", "group_id": 81, "id": 186751}, {"user_id": 14783, "stars": [], "topic_id": 8291, "date_created": 1298460854.745276, "message": "sorry, I'm an idiot, it actually did work :D", "group_id": 81, "id": 186913}, {"user_id": 7129, "stars": [], "topic_id": 8291, "date_created": 1298459613.341114, "message": "Set FORCE_SCRIPT_NAME = '' in your settings.", "group_id": 81, "id": 186784}, {"user_id": 7129, "stars": [], "topic_id": 8291, "date_created": 1298459629.9415071, "message": "Too slow ;)", "group_id": 81, "id": 186788}, {"user_id": 14783, "stars": [], "topic_id": 8291, "date_created": 1298459227.2476799, "message": "fastcgi.server = (\n \"/myfcgihandler.fcgi\" => (\n \"main\" => (\n # Use host / port instead of socket for TCP fastcgi\n # \"host\" => \"127.0.0.1\",\n # \"port\" => 3033,\n \"socket\" => \"/tmp/myfcgihandler.sock\",\n \"check-local\" => \"disable\",\n )\n ),\n)\n\nurl.rewrite-once = (\n \"^(/.*)$\" => \"/myfcgihandler.fcgi$1\",\n)", "group_id": 81, "id": 186768}, {"user_id": 14783, "stars": [], "topic_id": 8291, "date_created": 1298459295.1174681, "message": "and urls\n\n\nurlpatterns = patterns('',\n (r'^myapp/myview/$', 'myapp.views.myview'),\n)", "group_id": 81, "id": 186772}, {"user_id": 1132, "stars": [], "topic_id": 8291, "date_created": 1298459614.011688, "message": "Try adding the following to your settings.py file:", "group_id": 81, "id": 186785}, {"user_id": 1132, "stars": [], "topic_id": 8291, "date_created": 1298459614.98632, "message": "FORCE_SCRIPT_NAME = ''", "group_id": 81, "id": 186786}, {"user_id": 1132, "stars": [], "topic_id": 8291, "date_created": 1298459694.47381, "message": ";-)", "group_id": 81, "id": 186793}, {"user_id": 14783, "stars": [], "topic_id": 8291, "date_created": 1298460122.4005799, "message": "didn't change anything :( they weird thing is it only happens to urls that are in my urlpatterns that are missing the trailing \"/\", anything else just goes to the 404 page without redirecting", "group_id": 81, "id": 186830}, {"user_id": 14783, "stars": [], "topic_id": 8291, "date_created": 1298460964.8410909, "message": "Thanks", "group_id": 81, "id": 186926}]