Re: mod_python apache2 path problem

2007-08-02 Thread Graham Dumpleton
On Aug 2, 6:11 pm, Giorgio Salluzzo <[EMAIL PROTECTED]> wrote: > On Jul 31, 12:25 pm, Graham Dumpleton <[EMAIL PROTECTED]> > wrote: > > > Huh. What bug, strange behaviour in mod_python? What old threads? > > Excuse me, I tought he was having a problem similar to the >

Re: mod_python apache2 path problem

2007-08-02 Thread Giorgio Salluzzo
On Jul 31, 12:25 pm, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > Huh. What bug, strange behaviour in mod_python? What old threads? Excuse me, I tought he was having a problem similar to the following: http://www.modpython.org/pipermail/mod_python/2003-July/013947.html We had the same and I

Re: mod_python apache2 path problem

2007-08-01 Thread Graham Dumpleton
Read my comments at: http://groups.google.com/group/django-users/browse_frm/thread/24deb095a2b2e450/1c982558d464017a The problem is caused by fact that manage.py effectively adds parent directory and directory of site (by virtue of it being current working directory). Thus it allows these

Re: mod_python apache2 path problem

2007-07-31 Thread Graham Dumpleton
On Jul 31, 5:24 pm, Giorgio Salluzzo <[EMAIL PROTECTED]> wrote: > I know very well this problem because in my company we had the same > some months ago. > > I investigated a lot also on modpython list and it is a known "bug| > strange behavior", you can find threads really old about it. Huh.

Re: mod_python apache2 path problem

2007-07-31 Thread Giorgio Salluzzo
I know very well this problem because in my company we had the same some months ago. I investigated a lot also on modpython list and it is a known "bug| strange behavior", you can find threads really old about it. Because of it we changed to the fastest and "problems free" modwsgi.

Re: mod_python apache2 path problem

2007-07-30 Thread Graham Dumpleton
On Jul 30, 11:18 pm, stereoit <[EMAIL PROTECTED]> wrote: > Hi, I'm having problem withmod_python. > > EnvironmentError: Could not import settings 'syslog.settings' (Is it > on sys.path? Does it have syntax errors?): No module named settings > > > I've developed small app for viewing syslog

Re: mod_python apache2 path problem

2007-07-30 Thread stereoit
Hi, thanks for quick reply. When I did as suggested I received: EnvironmentError: Could not import settings 'settings' (Is it on sys.path? Does it have syntax errors?): No module named settings < so I also changed the PythonPath to PythonPath "['/srv/code/syslog/'] + sys.path" now I

Re: mod_python apache2 path problem

2007-07-30 Thread Anthony DROGON
Hi Robert, I had quite the same problem, it's been solved by setting DJANGO_SETTINGS_MODULE to "settings" instead of "syslog.settings" in . My current apache2.conf file sets handler to "python-program" instead of "mod_python", you can also try it that way. Hope this helps, Anthony.

mod_python apache2 path problem

2007-07-30 Thread stereoit
Hi, I'm having problem with mod_python. EnvironmentError: Could not import settings 'syslog.settings' (Is it on sys.path? Does it have syntax errors?): No module named settings I've developed small app for viewing syslog messages and it runs fine with following commands: cd