Gregory (Grisha) Trubetskoy
grisha at modpython.org
Thu Mar 28 16:36:21 EST 2002
If you're new to Apache, then check the config to make sure it doesn't have a ClearModuleList directive. If it does, then following it there should also be an AddModule mod_python.c line somewhere, else the module is never activated by apache. Grisha On Thu, 28 Mar 2002, Jasper Hargreaves wrote: > I've been trying to get Python scripts working with Apache under Windows. > > Running Apache 1.3.22 on Windows2000 Pro (ntfs partition), with > Version 2.7.6 of ModPython, with Python 2.2 installed in the back, supported by Win32all v146 > > From a completely clean install of Python & Apache, and following the documentation word for word given for "Windows > Installation" on the documentation section of the site, it's not giving any joy, giving a > > "Invalid command 'PythonHandler', perhaps mis-spelled or defined by a module not included in the server configuration." > > when Apache tries to start. I'm new to configuring Apache - so I'm unsure if there's a particular "cgi" section of the > httpd.conf, or if it's simply covered by the "alias" section. > > I've also set file extensions .py to be associated with Python, and added environment variable PYTHONPATH, and PATH to point to > the python directory. > > Any advice? > > Many thanks, > Jasper Hargreaves > -------------------- > Jasper Hargreaves > jasper at objectionable.org > ICQ : 41235322; AIM : cloudyshai > http://www.objectionable.org > -------------------- > Information is not knowledge. Knowledge is not wisdom. Wisdom is not truth. Truth is not beauty. Beauty is not love. Love is not > music. Music is the best. Wisdom is the domain of the Wiz, which is extinct. > Beauty is a french phoenetic corruption of a short cloth neck ornament currently in resurgence. > -Frank Zappa, "Packard Goose" > --------------------- > _______________________________________________ Mod_python mailing list Mod_python at modpython.org > http://www.modpython.org/mailman/listinfo/mod_python >
|