mirror of
https://github.com/not-kennethreitz/convore.json.git
synced 2026-06-20 15:10:58 +00:00
1 line
5.0 KiB
JSON
1 line
5.0 KiB
JSON
[{"user_id": 10074, "stars": [], "topic_id": 17780, "date_created": 1302162472.741029, "message": "Hey,\nin the past I set up apache and django on a Debian and on a Ubuntu machine successful. Now I need to set it up on a SUSE Linux. I installed apache2, and mod python. Then I wrote in the config, the PythonHandler and the other stuff. But apache can't start.\n\n\nStarting httpd2 (prefork) Syntax error on line 216 of /etc/apache2/httpd.conf:\nInvalid command 'PythonHandler', perhaps misspelled or defined by a module not included in the server configuration\n\nThe command line was:\n/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf\n\nHow can I check what apache version I have, and what modules are installed? (httpd -v doesn't work - no command found with this name). I also recognized, that the /etc/apache2 has different files in SUSE than in Ubuntu and Debian.", "group_id": 81, "id": 573232}, {"user_id": 1736, "stars": [], "topic_id": 17780, "date_created": 1302163451.7848239, "message": "Written, conveniently, by Graham ;-)", "group_id": 81, "id": 573393}, {"user_id": 16551, "stars": [{"date_created": 1302163401.3858681, "user_id": 1736}], "topic_id": 17780, "date_created": 1302163113.1158719, "message": "Be aware the mod_python is now officially dead and is unsupported any more.", "group_id": 81, "id": 573312}, {"user_id": 1736, "stars": [], "topic_id": 17780, "date_created": 1302164731.772722, "message": "@GrahamDumpleton I wouldn't use uwsgi either :)", "group_id": 81, "id": 573612}, {"user_id": 16551, "stars": [], "topic_id": 17780, "date_created": 1302163473.4593799, "message": "I was responsible for some of the code in mod_python as well.", "group_id": 81, "id": 573402}, {"user_id": 16551, "stars": [], "topic_id": 17780, "date_created": 1302163090.3890049, "message": "@Samuirai You are missing LoadModule line for mod_python.", "group_id": 81, "id": 573308}, {"user_id": 1736, "stars": [], "topic_id": 17780, "date_created": 1302163438.153734, "message": "mod_wsgi", "group_id": 81, "id": 573386}, {"user_id": 1736, "stars": [], "topic_id": 17780, "date_created": 1302163545.248791, "message": "Other options include gunicorn, uwsgi, nginx's wsgi module, etc etc", "group_id": 81, "id": 573420}, {"user_id": 1736, "stars": [], "topic_id": 17780, "date_created": 1302163569.017648, "message": "But mod_wsgi is the closest to mod_python in most ways", "group_id": 81, "id": 573424}, {"user_id": 1736, "stars": [], "topic_id": 17780, "date_created": 1302163618.2977149, "message": "@GrahamDumpleton Don't worry, we won't hold that against you ;-)", "group_id": 81, "id": 573429}, {"user_id": 10074, "stars": [], "topic_id": 17780, "date_created": 1302163419.4245679, "message": "Really? Oh ok :/\nWhat is the new alternative?", "group_id": 81, "id": 573377}, {"user_id": 16551, "stars": [{"date_created": 1302165181.7401199, "user_id": 1}], "topic_id": 17780, "date_created": 1302164057.114398, "message": "Blocking WSGI in multiprocess async to me isn't a good idea.", "group_id": 81, "id": 573497}, {"user_id": 1736, "stars": [{"date_created": 1302269231.9567151, "user_id": 5778}], "topic_id": 17780, "date_created": 1302163421.0557859, "message": "What Graham means to say is \"Stop using mod_python right now\"", "group_id": 81, "id": 573378}, {"user_id": 16551, "stars": [{"date_created": 1302269253.1163609, "user_id": 5778}], "topic_id": 17780, "date_created": 1302163491.090245, "message": "Well, the bits that made it usable in the end before I made it obsolete. :-)", "group_id": 81, "id": 573411}, {"user_id": 16551, "stars": [], "topic_id": 17780, "date_created": 1302164033.162307, "message": "@coderanger Personally I would not go recommending \"nginx's wsgi module\". The design has problems.", "group_id": 81, "id": 573491}, {"user_id": 16551, "stars": [], "topic_id": 17780, "date_created": 1302164035.0112519, "message": "http://blog.dscpl.com.au/2009/05/blocking-requests-and-nginx-version-of.html", "group_id": 81, "id": 573492}, {"user_id": 10074, "stars": [], "topic_id": 17780, "date_created": 1302163820.855418, "message": "That's what I understood too :D\nSo ok. You know, I justed dived into this world. I now try it with this tutorial http://docs.djangoproject.com/en/1.3/howto/deployment/modwsgi/", "group_id": 81, "id": 573450}, {"user_id": 10074, "stars": [], "topic_id": 17780, "date_created": 1302167638.6894629, "message": "We decided not to use mod_wsgi here. It's just an internal webserver running on a s390 architecture. mod_python works, and for mod_wsgi we would need to built it, because SUSE doesn't provide builts for this architecture.", "group_id": 81, "id": 573876}, {"user_id": 10074, "stars": [], "topic_id": 17780, "date_created": 1302167676.0190439, "message": "Only maybe 5 people has access to the server.", "group_id": 81, "id": 573884}, {"user_id": 1736, "stars": [], "topic_id": 17780, "date_created": 1302194446.697571, "message": "@Samuirai For such a small server, using guincorn might be for the best given that it is pure-python and will run anywhere.", "group_id": 81, "id": 577154}] |