Sorry, didn't see your reply until now...

the directory section can go either in your main apache config file (in my 
case, /etc/httpd/conf/httpd.conf ) OR in a separate file in the conf.d 
directory. In my case, I have a python.conf file in /etc/httpd/conf.d/ that 
contains the following: 

LoadModule python_module modules/mod_python.so

<Directory /var/www/html/dev>
        AddHandler      mod_python .htm
        PythonHandler parse
#      PythonDebug On
</Directory>

As for Django, I don't even know what that is, let alone how to interface to 
it, so you'd have to look elsewhere for help on that. I imagine there's 
someplace online you can get Django help such a specific mailing list.

-Jay

On Tuesday 18 October 2005 04:23 pm, nitin chandra wrote:
> Thanks Jay
>
> i guess the <directort</directory> can be added only in one of the conf
> file. Which one should i add in?
>
> Thaks you. could you please guide how to interface Django with
> mod_python, for effectively using in web site development?
>
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to