Help to setup trac on Apache+mod_fcgid+Windows

160 views
Skip to first unread message

clp

unread,
Jan 16, 2013, 11:41:38 AM1/16/13
to trac-...@googlegroups.com
 
Hi all,
I tried to setup trac with mod_fcgid without success. Always getting error
(OS 109)The pipe has been ended. : mod_fcgid: get overlap result error
Premature end of script headers: trac.fcgid
I would appreciate if someone helps me with the steps to follow to have Trac running on Windows + Apache + mod_fcgid.
Here is what I have at this time:
LoadModule fcgid_module lib/modules/mod_fcgid.so
<VirtualHost *:8081>
Alias /chrome/common C:/Python25/Lib/site-packages/trac/htdocs/common
Alias /chrome/site C:/Python25/Lib/site-packages/trac/htdocs/site
ScriptAlias /cgi-bin "C:/Python25/bin/cgi-bin"
<Directory C:/Python25/Lib/site-packages/trac/cgi-bin>
SetHandler fcgid-script
Options ExecCGI
AllowOverride None
allow from all
</Directory>
ScriptAlias / C:/Python25/bin/cgi-bin/trac.fcgi/
<Directory "C:/Python25/Lib/site-packages/trac/htdocs">
  Order allow,deny
  Allow from all
 </Directory>
 <Directory D:/Trac/htdocs>
  Order allow,deny
  Allow from all
 </Directory>
</VirtualHost>
  I don't have nothing on httpd.conf. All this is in another file called trac-httpd.conf. In httpd.conf I include this file. I want to have in just one folder all my projects.
 
thanks for all your help.

Jun Omae

unread,
Jan 17, 2013, 7:12:27 AM1/17/13
to trac-...@googlegroups.com
Hi,

Trac doesn't work with FastCGI on Windows. However, Trac works fine
with Apache 2.2 and mod_wsgi on Windows.

Note for Windows: Trac's FastCGI does not run under Windows,
as Windows does not implement Socket.fromfd, which is used
by _fcgi.py. If you want to connect to IIS, you may want to
try AJP/ISAPI.

from http://trac.edgewall.org/wiki/TracFastCgi

And, See the following links;
* http://trac.edgewall.org/wiki/TracOnWindows
* http://trac.edgewall.org/wiki/TracModWSGI
> --
> You received this message because you are subscribed to the Google Groups
> "Trac Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/trac-users/-/uLUQtqR1GsgJ.
> To post to this group, send email to trac-...@googlegroups.com.
> To unsubscribe from this group, send email to
> trac-users+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/trac-users?hl=en.


--
Jun Omae <jun...@gmail.com> (大前 潤)
Reply all
Reply to author
Forward
0 new messages