Re: SetEnv in mod_python

2005-08-23 Thread Adrian Holovaty
On 8/23/05, Krzysztof Drozd <[EMAIL PROTECTED]> wrote: > if i get my.net/admin/ i t produce 404 :( > > PythonPath "['/var/www/ap'] + sys.path" > SetHandler python-program > SetEnv DJANGO_SETTINGS_MODULE tutgw.settings.main > PythonHandler django.core.handlers.modpython

Re: SetEnv in mod_python

2005-08-23 Thread Krzysztof Drozd
yes maybe :) yes i't works with apache 2.x and new mod_python :) but how to get admin interface? if i get my.net/admin/ i t produce 404 :( my http.conf: NameVirtualHost * ServerAdmin [EMAIL PROTECTED] DocumentRoot /var/www/ap/ Options FollowSymLinks

Re: SetEnv in mod_python

2005-08-23 Thread adrian
django currently requires apache2.0+ and mod_python3.1+ That's probably something that should be made more clear in the docs. Maybe they're planning support?

SetEnv in mod_python

2005-08-22 Thread Krzysztof Drozd
i'm use apache 1.3.33 and mod_python 2.7.* when i start apache i get: Restarting apache. Configuration syntax error detected. Not reloading. Invalid command 'SetEnv', perhaps mis-spelled or defined by a module include in the server configuration when i not use SetEnv in http.conf i get: Mod_pyth