Graham Dumpleton
grahamd at dscpl.com.au
Tue Oct 25 16:52:21 EDT 2005
Try adding: <Files *.pyo> deny from all </Files> Or: Options -MultiViews Doing the later has other implications though and if you can't turn it off, you will probably need to start playing with weightings for mime types/extension types. Graham On 26/10/2005, at 12:02 AM, Mizsha wrote: > HI, > > I have problem with my mod_python scripts and publisher. > When i reinstals from Debian to Gentoo my scripts generate this error > message afret every seccond reqest from restart apache. > Apache: mpm-prefork > > Apache/2.0.54 (Gentoo/Linux) mod_python/3.1.4 Python/2.4.2 > mod_fastcgi/2.4.2 mod_ssl/2.0.54 OpenSSL/0.9.7e PHP/4.4.0-gentoo-r1 > > Error: > Not Acceptable > > An appropriate representation of the requested resource > /newz2/gate/active could not be found on this server. > Available variants: > > * active.py , type text/x-python > * active.pyo , type application/x-python-code > > Config: > > PythonOptimize On > > SetHandler python-program > PythonPath "sys.path+['/hosting/xxxx/lib/python/']" > PythonHandler _nPublisher > PythonDebug On > PythonAutoReload On > > Please, do you have any ideas to repair it ? Thanks. > > / Sorry for my bad english ;) / > > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python >
|