Graham Dumpleton
graham.dumpleton at gmail.com
Sun Aug 24 19:24:06 EDT 2008
Since you haven't provided what configuration you used to enable mod_python it is hard to tell. At a guess though it sounds like you use SetHandler in the .htaccess to enable mod_python and so have made all requests against directory use mod_python. You should look at using AddHandler to restrict use of mod_python to certain extensions in URL, or instead use 'SetHandler None' in .htaccess of subdirectory where PHP is used, presuming that PHP configured to act as output filter. Provide configuration and crystal ball wouldn't be necessary. Graham 2008/8/25 Robert Dailey <rcdailey at gmail.com>: > Hi, > > I followed all of the steps to configure mod_python for apache 2.2, > and mod_python works flawlessly. My http document root is at > /srv/http, and that is the directory I configured (through .htaccess > file) to use mod_python. I also have some PHP scripts in > /srv/http/forum (phpBB), and when I have mod_python enabled in the > document root, my forum will not work, which as I already said uses > PHP. How can I configure the .htaccess in /srv/http/forum so that my > PHP scripts work? I believe the mod_python settings are being > inherited by /srv/http/forum, when in fact they should not since this > directory needs to run PHP and not mod_python. > > Thanks in advance. > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python >
|