I got it. You are right!
Thank you so much!

I replaced TracEnvParentDir with TracEnv, the apache based trac is
working finally.


On 8月7日, 下午7时41分, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I am so sorry and so suprised that your kind help came swiftly! ^_^
>
> I should describe what I followed and what I got just now.
>
> Windows XP, apache 2.0.55 (definitely intented for trac only, other
> applications are under apache 2.2)
> I configured apache this way:
>
> <Location /trac>
>     SetHandler mod_python
>     PythonHandler trac.web.modpython_frontend
>     PythonOption TracEnvParentDir c:/trac
> #    PythonOption TracUriRoot /trac
>     AuthType Basic
>     AuthName "test Proj"
>     AuthUserFile C:/xampp/xampp/apache/bin/passwd.lv
>     Require valid-user
> </Location>
>
> the error is like in the last posted, however, I tried
> C:\Python24\Scripts>..\python  tracd --port 8000 c:\trac
> 127.0.0.1 - - [07/Aug/2007 19:30:57] "GET /trac HTTP/1.1" 200 -
> 127.0.0.1 - - [07/Aug/2007 19:30:57] "GET /trac/chrome/common/css/
> trac.css HTTP/1.1" 200 -
> 127.0.0.1 - - [07/Aug/2007 19:30:57] "GET /trac/chrome/common/css/
> wiki.css HTTP/1.1" 200 -
> 127.0.0.1 - - [07/Aug/2007 19:30:57] "GET /trac/chrome/common/js/
> trac.js HTTP/1.1" 200 -
> .....
>
> it works well. Therefore the suspected point is the setting for
> apache.
>
> c:\trac is where the environment is. Is that "trac engine" in your
> reply?
>
> another setting, I put the port to 8001 under apache, that sould be
> OK, right?
>
> Thanks ......
>
> On 8月7日, 下午7时24分, "Emmanuel Blot" <[EMAIL PROTECTED]> wrote:
>
>
>
> > This error simply means that you misconfigured your trac installation.
>
> > It seems that you've declared the parent directory of multiple trac
> > projects as "C:\trac" whereas c:\trac seems to be the top directory of
> > the Trac engine itself.
>
> > In other words, you've specified the wrong 'environment' path to tracd.
>
> > Cheers,
> > Manu
>
> > On 8/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > > I tried many times to re-install the trac with the single output in
> > > the browser:
>
> > > Available Projects
> > > attachments: Error
> > > ([Errno 2] No such file or directory: 'c:\\trac\\attachments\
> > > \VERSION')
> > > conf: Error
> > > ([Errno 2] No such file or directory: 'c:\\trac\\conf\\VERSION')
> > > db: Error
> > > ([Errno 2] No such file or directory: 'c:\\trac\\db\\VERSION')
> > > htdocs: Error
> > > ([Errno 2] No such file or directory: 'c:\\trac\\htdocs\\VERSION')
> > > log: Error
> > > ([Errno 2] No such file or directory: 'c:\\trac\\log\\VERSION')
> > > plugins: Error
> > > ([Errno 2] No such file or directory: 'c:\\trac\\plugins\\VERSION')
> > > templates: Error
> > > ([Errno 2] No such file or directory: 'c:\\trac\\templates\\VERSION')
> > > wiki-macros: Error
> > > ([Errno 2] No such file or directory: 'c:\\trac\\wiki-macros\
> > > \VERSION')
>
> > > I found the similar post without reply here, I encountered the same
> > > case, I think.
> > > When would these files be created?
>
> > --
> > Manu- 隐藏被引用文字 -
>
> > - 显示引用的文字 -- 隐藏被引用文字 -
>
> - 显示引用的文字 -


--~--~---------~--~----~------------~-------~--~----~
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