I recently installed mod_python to use with Apache2. But, instead of disp开发者_Python百科laying a python page, it asks me to download it. I followed the instructions here: http://www.howtoforge.com/embedding-python-in-apache2-with-mod_python-debian-etch
When I restart apache2: * Restarting web server apache2 [Tue Jul 12 21:00:44 2011] [warn] module python_module is already loaded, skipping ... waiting [Tue Jul 12 21:00:45 2011] [warn] module python_module is already loaded, skipping
What's wrong?
Oh, and do I need to enable the psp handler for Django? Is it not required for the templates?
Don't follow random directions on the internet. Follow the actual documentation on Django's website.
Don't use mod_python - it's deprecated. Use mod_wsgi.
Don't even think about PSP.
精彩评论