On Mon, Apr 09, 2007 at 09:17:52AM -0400, Brian McCann wrote:
> Hi Rainer
>  
> I set LoadModule python_module modules/mod_python.so in the Dynamic Shared 
> Object (DSO) Support
> section of httpd.conf but the instructions @ 
> http://trac.edgewall.org/wiki/TracModPython
> say You can test your mod_python installation by adding the following to your 
> httpd.conf
> <Location /mpinfo>
>    SetHandler mod_python
>    PythonHandler mod_python.testhandler
> </Location>

That's correct, since PythonHandler is defined by mod_python. Therefor,
you have to load it.

> <Location /projects/myproject>
>    SetHandler mod_python
>    PythonHandler trac.web.modpython_frontend 
>    PythonOption TracEnv /var/trac/myproject
>    PythonOption TracUriRoot /projects/myproject
> </Location>
> 
> but the instructions don't say where in httpd.conf to put these
> Thanks,

It depends :-)
If you are on a virtual host, you may have it somewhere between
<VirtualHost blablub> and </VirtualHost>. Otherwise, I think you can have
it anywhere (but after the LoadModule dircective?)

http://httpd.apache.org/docs/2.2/mod/core.html#location

Rainer

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to