Richard Boardman
richboardman at gmail.com
Thu Dec 1 05:34:11 EST 2005
Richard Boardman wrote: <snip> > then having the file /var/www/foobarsite/.htaccess reading: > > AddHandler python-program .py > PythonDebug On > <Files "foo.py"> > PythonHandler foo > </Files> > <Files "bar.py"> > PythonHandler bar > </Files> > # etc. I've fixed it myself. Turns out I was missing a line in my .htaccess. Adding: PythonPath "['/full/path/to/file']+sys.path" beneath the AddHandler line sorted everything out. I'm taking a wild guess that there's some Apache gremlin causing it to run fine on http but not https. Now it all works :) Thanks, Rich
|