Re: problem with accessing django from apache2 & mod_python

2008-08-31 Thread cavebird
Hi Aaron, I am using mysite.books.views. I dont have mysite.books.urls. I will worry about mysite.books.models when I can display simple pages without any models. thanks, Hemant On Aug 29, 11:54 pm, Aaron <[EMAIL PROTECTED]> wrote: > Hi, strange enough, I was having a similar problem as you ju

Re: problem with accessing django from apache2 & mod_python

2008-08-29 Thread lingrlongr
This sounds like the same problem I'm having I have a post going here too! http://groups.google.com/group/django-users/browse_thread/thread/c30b4395f5153cf3/dad6e7a1ebef3175#dad6e7a1ebef3175 On Aug 29, 2:54 pm, Aaron <[EMAIL PROTECTED]> wrote: > Hi, strange enough, I was having a simil

Re: problem with accessing django from apache2 & mod_python

2008-08-29 Thread Aaron
Hi, strange enough, I was having a similar problem as you just awhile ago (w/ mod_wsgi). The cause as I discovered was that if you have an app inside your project, you'll have to include the project name before any import statements. So, for your case, chances are, there may be references to boo

Re: problem with accessing django from apache2 & mod_python

2008-08-29 Thread Aaron
If you can't get this to work out with mod_python, perhaps consider using mod_wsgi. http://code.djangoproject.com/wiki/django_apache_and_mod_wsgi Checkout this post for comparisons between the two: http://groups.google.com/group/django-users/browse_thread/thread/456581f4bc8506b8/5db7dd7bceb87f48

Re: problem with accessing django from apache2 & mod_python

2008-08-29 Thread cavebird
No :( I already tried that. same results. cavebird On Aug 29, 4:47 pm, Aaron <[EMAIL PROTECTED]> wrote: > Hi cavebird, > > Not sure if this has anything to do with the symbolic link, but I > remember having some path issues on mod_python awhile back. Try > copying mysite inside htdocs and see

Re: problem with accessing django from apache2 & mod_python

2008-08-29 Thread Aaron
Hi cavebird, Not sure if this has anything to do with the symbolic link, but I remember having some path issues on mod_python awhile back. Try copying mysite inside htdocs and see if that has any effects. Aaron On Aug 29, 4:32 am, cavebird <[EMAIL PROTECTED]> wrote: > Hi, > I have been learnin

problem with accessing django from apache2 & mod_python

2008-08-29 Thread cavebird
Hi, I have been learning Django and came across this problem I am trying to access django apps from apache2 but it just wont work : ( Here is what i did: added in /usr/local/apache2/conf/extra/httpd-info.conf: SetHandler python-program PythonHandler django.core.handlers.modpython Pyth