2006年09月12日 星期二 14:57
我想一个域名使用mod_python,而另外一个域名用php。我要怎么做?下面是我的httpd.conf的相关配置: ############# Django ojs settings ################# # setting up a normal virtual host ## ServerName sgu.ospattern.net # DocumentRoot "/var/www/sgu.ospattern.net/html/media" # SetHandler None # # optional a django_ojs pathSetHandler python-program PythonHandler django.core.handlers.modpython PythonPath "['/home/fluke/Projects'] + sys.path" SetEnv DJANGO_SETTINGS_MODULE django_ojs.settings PythonDebug On # setting up a vertual hostServerName ojs.ospattern.net SetHandler python-program PythonHandler django.core.handlers.modpython PythonPath "['/home/fluke/Projects'] + sys.path" SetEnv DJANGO_SETTINGS_MODULE django_ojs.settings PythonDebug On # leave the /media/ dir for serving css & img filesSetHandler None # leave img files not be interpreted by djangoSetHandler None -- Yours, fluke fluke在sfcube.net http://blog.ospattern.net
Zeuux © 2025
京ICP备05028076号