[mod_python] Virtual host and mod_python

max.zhang max.zhang at converzal.com
Fri Jun 6 11:07:02 EST 2003


Hi all,

My Redhat 7.3 +apache1.3 + mod_python2.7

http.conf

<VirtualHost *>
...
</VirtualHost *>
 ...   
<VirtualHost *>
   DocumentRoot /www/htdocs/xy.com/
    ServerName xy.xy.com
    ScriptAlias /cgi-bin/ "/www/htdocs/xy.com/cgi-bin/"

    <Directory "/www/htdocs/xy.com/bulletin">
         AddHandler python-program .py
        PythonHandler mod_python.publisher # this part works well
        PythonDebug On
    </Directory>

    <Directory "/www/htdocs/xy.com/fileman">
         AddHandler python-program .py
        PythonHandler filemanager # this mod_python program can't work .apache display code of filemanager.py in IE client 
        PythonDebug On    
    </Directory>

</VirtualHost>
......

why? The mod_python can't work with virtual host ?
Thanks


Max

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.modpython.org/pipermail/mod_python/attachments/20030606/7e64c428/attachment-0003.htm


More information about the Mod_python mailing list