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

Good luck!

Aaron

On Aug 29, 4:53 am, cavebird <[EMAIL PROTECTED]> wrote:
> 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 if that has any effects.
>
> > Aaron
>
> > On Aug 29, 4:32 am, cavebird <[EMAIL PROTECTED]> wrote:
>
> > > 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:
> > > <Location "/mysite/">
> > >     SetHandler python-program
> > >     PythonHandler django.core.handlers.modpython
> > >     PythonPath "['/usr/local/apache2/htdocs/'] + sys.path"
> > >     SetEnv DJANGO_SETTINGS_MODULE mysite.settings
> > >     SetEnv PYTHON_EGG_CACHE "/var/cache/www/pythoneggs"
> > >     PythonDebug Off
> > >     PythonAutoReload Off
>
> > > </Location>
>
> > > cd /usr/local/apache2/htdocs
> > > ln -s /home/user/workspace/gui/src/mysite mysite
>
> > > I started the server.
> > > it can access url.py because if i give mysite/rubbish it says The
> > > current URL, /mysite/rubbish/, didn't match any of these.
> > > it can access functions in mysite.views because mysite/time works
> > > fine.
> > > However it cannot access mysite.books.views as even the simplest
> > > functions returns nothing.
> > > Meanwhile python manage.py runserver works perfectly fine.
> > > Please help!!!
> > > Regards,
> > > cavebird
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to