开发者

mod_python not working correctly

开发者 https://www.devze.com 2023-03-20 00:34 出处:网络
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:

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?


  1. Don't follow random directions on the internet. Follow the actual documentation on Django's website.

  2. Don't use mod_python - it's deprecated. Use mod_wsgi.

  3. Don't even think about PSP.

0

精彩评论

暂无评论...
验证码 换一张
取 消