That is just a template. You need to run the trac-admin ... deploy command
to generate the actual fcgi script.

--Noah

> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED]
> On Behalf Of Paul Cohen
> Sent: Tuesday, June 03, 2008 2:50 PM
> To: [email protected]
> Subject: [Trac] Problem installing 0.11rc under home directory
> 
> 
> Hi,
> 
> I have a web account at a web hosting service and I'm trying to
> install Trac 0.11rc1 in my home directory.
> 
> Slackware 8.0.0
> Apache 1.3.37 + mod_fcgi
> Genshi 0.4.4
> Trac 0.11rc1
> 
> My .htaccess file:
> 
> ScriptAlias /cgi-bin /home/paco/www/cgi-bin/trac.fcgi
> <Directory /home/paco/www/cgi-bin>
>     SetHandler fcgid-script
>     Options ExecCGI
>     AllowOverride None
>     allow from all
> </Directory>
> ScriptAlias /foo /home/paco/www/cgi-bin/trac.fcgi
> 
> I've created a Trac environment in ~/trac/foo
> 
> I copied the file "deploy_trac.fcgi" to  ~/www/cgi-bin/trac.fcgi.
> Contents:
> 
> try:
>     import os
>     os.environ['TRAC_ENV'] = "/home/paco/trac/foo"
>     if 'TRAC_ENV' not in os.environ and \
>        'TRAC_ENV_PARENT_DIR' not in os.environ:
>         os.environ['TRAC_ENV'] = '${env.path}'
>     from trac.web import fcgi_frontend
>     fcgi_frontend.run()
> except SystemExit:
>     raise
> except Exception, e:
>     print 'Content-Type: text/plain\r\n\r\n',
>     print 'Oops...'
>     print
>     print 'Trac detected an internal error:'
>     print
>     print e
>     print
>     import traceback
>     import StringIO
>     tb = StringIO.StringIO()
>     traceback.print_exc(file=tb)
>     print tb.getvalue()
> 
> I just get the standard Internal Server Error page of my web host
> provider.
> 
> Thankful for any help.
> 
> /Paul
> 
> 


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