[Trac] Windows Install Questions
DeLynn Berry
delynnb at megastarfinancial.com
Fri Apr 1 20:47:39 EST 2005
> Are you using ModPython?
No I'm not. The server is running FastCGI, but I have not configured
Apache to send *.cgi files to FastCGI.
> post the relative sections of your Apache configuration
> file and I'll see how it compares to mine.
Here you go:
ScriptAliasMatch ^/affinity/(.*) "d:/data/web/svn/trac.cgi/$1"
RedirectMatch ^/affinity$ /affinity/
<Location "/affinity/">
SetEnv TRAC_ENV "d:/data/web/svn/affinity.db"
</Location>
<Location "/affinity/login">
AuthType Basic
AuthName "Affinity"
AuthUserFile "d:/apps/xampp/apache/conf/passwd/svn.pwd"
Require valid-user
</Location>
Thanks for your help,
DeLynn
> -----Original Message-----
> From: trac-bounces at lists.edgewall.com
> [mailto:trac-bounces at lists.edgewall.com] On Behalf Of Paul Bennett
> Sent: Friday, April 01, 2005 6:34 PM
> To: trac at lists.edgewall.com
> Subject: Re: [Trac] Windows Install Questions
>
>
> Are you using ModPython? If so, take a look at this ticket
> http://projects.edgewall.com/trac/ticket/1101. And quoted
> from the referenced wiki page:
>
> "If you're experiencing problems submitting some of the forms
> in Trac (a common problem is that you get redirected to the
> start page after submission), check whether your DocumentRoot
> contains a folder or file with the same path that you mapped
> the mod_python handler to. For some reason, mod_python gets
> confused when it is mapped to a location that also matches a
> static resource."
>
> If you're not using ModPython, then maybe you can post the
> relative sections of your Apache configuration file and I'll
> see how it compares to mine.
>
> I don't think there are any permissions necessary for the
> sqlite database, but I'm sure someone will correct me if I'm wrong.
>
> Paul
>
> On Apr 1, 2005 6:40 PM, DeLynn Berry
> <delynnb at megastarfinancial.com> wrote:
> > > Although I'm pretty sure this will work, try filling in a
> new ticket
> > > and click "Preview." Does the screen refresh with a
> preview of your
> > > ticket information at the bottom?
> >
> > Actually it didn't work. Previewing the ticket acts the same way as
> > doing any other create/edit/delete--I immediately go back
> to the main
> > page for the project. There are no errors that are
> generated either on
> > screen or in the log files.
> >
> > > I'm just guessing, but it sounds like trac isn't able to write to
> > > the Sqlite database.
> >
> > That's what I've been thinking too, but what's odd is that the
> > create/edit/delete of the Wiki works as it should. I've
> verified that
> > the wiki is writing out to the database as well.
> >
> > > Perhaps you're having a
> > > permissions problem on the trac environment directory?
> >
> > The trac environment directory is owned by the local
> administrator and
> > I've set the "everyone" group to have Full Control on the
> directory.
> > Apache2 is started by the LocalSystem account, so I'm sure the
> > permissions there are okay as well. Is there a configuration or
> > permission that needs to be set with SQLite maybe?
> >
> > DeLynn
> >
> > > -----Original Message-----
> > > From: trac-bounces at lists.edgewall.com
> > > [mailto:trac-bounces at lists.edgewall.com] On Behalf Of Paul Bennett
> > > Sent: Friday, April 01, 2005 3:40 PM
> > > To: trac at lists.edgewall.com
> > > Subject: Re: [Trac] Windows Install Questions
> > >
> > >
> > > Although I'm pretty sure this will work, try filling in a
> new ticket
> > > and click "Preview." Does the screen refresh with a
> preview of your
> > > ticket information at the bottom?
> > >
> > > Also, after you click "Submit ticket," can you describe what your
> > > screen looks like? What page are you looking at? Are there any
> > > errors or tracebacks listed?
> > >
> > > I'm just guessing, but it sounds like trac isn't able to write to
> > > the Sqlite database. Perhaps you're having a permissions
> problem on
> > > the trac environment directory?
> > >
> > > Paul
> > >
> > >
> > > On Apr 1, 2005 5:08 PM, DeLynn Berry
> <delynnb at megastarfinancial.com>
> > > wrote:
> > > > Well, setting it up to use a password file does not work
> > > either. I'm
> > > > seeing the exact same behaviour. Have any other ideas?
> > > >
> > > > Thanks,
> > > >
> > > > DeLynn
> > > >
> > > > > -----Original Message-----
> > > > > From: trac-bounces at lists.edgewall.com
> > > > > [mailto:trac-bounces at lists.edgewall.com] On Behalf Of Matthew
> > > > > Good
> > > > > Sent: Friday, April 01, 2005 2:07 PM
> > > > > To: trac at lists.edgewall.com
> > > > > Subject: RE: [Trac] Windows Install Questions
> > > > >
> > > > >
> > > > > On Fri, 2005-04-01 at 13:40 -0700, DeLynn Berry wrote:
> > > > > > I actually already had that option in my Apache config.
> > > Here is my
> > > > > > location directives:
> > > > > >
> > > > > > AuthType SSPI
> > > > > > AuthName "Trac"
> > > > > > SSPIAuth On
> > > > > > SSPIAuthoritative On
> > > > > > SSPIBasicPreferred On
> > > > > > SSPIDomain **********
> > > > > > SSPIOmitDomain On
> > > > > > SSPIOfferBasic On
> > > > > > Require valid-user
> > > > > >
> > > > > > I'm thinking about just trying basic authentication with a
> > > > > > password file and see if that works. I'll let you
> know if that
> > > > > > changes anything.
> > > > > >
> > > > > > Thanks for your help,
> > > > > >
> > > > > > DeLynn
> > > > >
> > > > > Yeah, go ahead and try out the htpasswd file for
> > > authentication to
> > > > > make sure everything else is working. The other option for
> > > > > authenticating to a Windows domain is through LDAP.
> The Active
> > > > > Directory server should provide an LDAP interface, so you can
> > > > > use the Apache LDAP modules to authenticate that way as well.
> > > > >
> > > > > --
> > > > > Matthew Good <trac at matt-good.net>
> > > > >
> > > > > _______________________________________________
> > > > > Trac mailing list
> > > > > Trac at lists.edgewall.com
> > > > > http://lists.edgewall.com/mailman/listinfo/tra> c
> > > > >
> > > > _______________________________________________
> > > > Trac mailing list
> > > > Trac at lists.edgewall.com
> > > > http://lists.edgewall.com/mailman/listinfo/trac
> > > >
> > > _______________________________________________
> > > Trac mailing list
> > > Trac at lists.edgewall.com
> > > http://lists.edgewall.com/mailman/listinfo/tra> c
> > >
> >
> _______________________________________________
> Trac mailing list
> Trac at lists.edgewall.com
> http://lists.edgewall.com/mailman/listinfo/tra> c
>
More information about the Trac
mailing list