Fred
dofre1680 at gmail.com
Thu Feb 26 14:24:26 EST 2009
Hello, maybe i have a bad mod_python install on a RHEL 4.5. I compile apache, mod_python and python, and install all inside /freeware (it's a customer need). - /freeware/python-2.5.4/ - /freeware/apache-2.2.6/ When run, apache use a linux user call "web". Version : - apache 2.2.6 - mod_python 3.3.1 - python 2.5.1 (and test with the last 2.5.4) I try this example ( because i have some error with the Pylons application that i have to install) : http://www.modpython.org/live/current/doc-html/inst-testing.html When i try to access to http://server/test/mptest.py i have a 500 server error. When i look at log i have (for each request) : [Thu Feb 26 19:46:29 2009] [error] [client X.X.X.X] python_handler: Can't get/create interpreter this the only message inside error log.... I try to re compil apache mod_python and python but i don't find any solution. I try the same thing with a distribution packages (python, mod_python and apache) install on ubuntu hardy and it's works.... (just to say that i'm not too stupid)! I have nos idea... this my virtual host apache.conf content include inside the main conf file : <VirtualHost *:80> ServerAdmin webmaster at dummy-host.example.com DocumentRoot "/dataweb/sws" ServerName dns ErrorLog "/dataweb/sws/logs/sws-error_log" CustomLog "/dataweb/sws/logs/sws-access_log" common <Directory /dataweb/sws/test> Options None AllowOverride None Order allow,deny Allow from all AddHandler mod_python .py PythonHandler mptest PythonDebug On #PythonPath "sys.path+['/freeware/python-2.5.4/bin']" </Directory> SetEnv LD_LIBRARY_PATH /freeware/python-2.5.4/lib/python2.5/:/freeware/lib/ </VirtualHost> need help please. thanks in advance. fred -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20090226/13dbc1f6/attachment.html
|