On Thu, 2006-04-27 at 14:08 -0400, Hector Partidas wrote:
> Hello folks,
> 
> I'm new to trac and just finished setting it up but can't stand how
> slow it is in cgi mode so i set it up with mod_python. Trac runs for
> the most part, how ever there are some pages what won't display, the
> only thing that appears is an icon. Example of these pages are the
> wiki page and the newticket. 
> 
> Let me explain a bit more,
> 
> http://localhost/trac/ --- displays main wiki page
> http://localhost/trac/wiki --- Displays icon
> http://localhost/trac/wiki/<any other page> --- Not found.
> 
> Any help? Thought it might by my httpd.conf, but it doesn't make
> sense, because it works in cgi-mode.  So Any idea of how to help me
> out? 
> 
> thats my httpd trac setup btw, just incase something is wrong =)
> 
> # TRAC
> Alias /trac "C:/Python23/share/trac/htdocs"
> 
> <Location /trac>
>   SetHandler mod_python
>   PythonHandler trac.web.modpython_frontend 
>   PythonOption TracEnv c:/Projects/twf.db
>   PythonOption TracUriRoot /trac
> </Location>

You can't use /trac for both the htdocs alias and the Trac mod_python
Location.  The overlapping entries are confusing Apache.  With
mod_python you can remove the Alias to htdocs, and remove the
"htdocs_location" setting from trac.ini.  Those are only really
necessary with CGI for performance reasons.

-- 
Matthew Good <[EMAIL PROTECTED]>

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to