[Trac] Re: Windows Apache Trac Success...almost!

2008-06-17 Thread yoheeb

On Jun 12, 5:27 pm, [EMAIL PROTECTED] wrote:
> On Jun 12, 12:12 pm, [EMAIL PROTECTED] wrote:
>
>
>
> > Thanks to the Trac docs, and this groups archive..I managed to get the
> > following running, and though I would share:
>


Just a couple follow on tips and things I have learnt(tm) along the
way

- In my case, I am authenticating (via SSPI) groups for subversion
access.  and against the domain for trac.  the Groups are domain users
are as well.  this works great.  I found it easier to administer the
groups local to the machine serving trac/subversion.  Therefore,  you
just need to specify the local machine as the "DOMAIN" for the
subverison  section in the httpd.conf
- use the  SSPIOmitDomain and the SSPIUsernameCase flags, at least for
subversion control.  SSPIOmitDomain is nice for trac as well, unless
you need to allow multi-domain users, then you're on your own, you're
probably best to put them into a local group (like mentioned earlier)
in that case, and you can still use these flags, but then, you're on
your own here, I am none of the following: Apache, Windows Server,
Trac, Subversion knowledgable, I just have enough information to be
dangerous, almost no skill.
-The Trac docs/groups are great resources for setting this up, the
TracOnWindows/Advanced is a great starting place, they also have a lot
of embedded hints to what you end up doing for the subversion
repository as well.
- the bindings you use for subversion, python, trac and apache are
VERY version specific, try to decided/know what versions you will be
using ahead of time.
- Using SSPI authentication is limiting for some of the plugins, you
can always just use an apache authz file if this is an issue.
- if you have the choice, consider NOT going windows.
- SOME things end up needing to be on the Apache htdocs path for
access.  while you can dork around with permissions etc., if it's
still not working, try that, for example, that's where my graphviz
cached ended up. Required, probably not, but was easy that way.
- If it doesn't work after restarting apache, try stopping apache,
then starting it.

Ok, that's all I can think of.  Good luck.




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
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
-~--~~~~--~~--~--~---



[Trac] Re: Windows Apache Trac Success...almost!

2008-06-12 Thread yoheeb

On Jun 12, 12:12 pm, [EMAIL PROTECTED] wrote:
> Thanks to the Trac docs, and this groups archive..I managed to get the
> following running, and though I would share:
>
> Apache 2.2
> Subversion 1.4.6
> Python 2.5
> Trac 0.11
>
> (note:  haven't set up subversion server yet, but will follow up on
> that)
> On windows server
> WITH windows authentication.
> mutli-project setup
>
> Gotcha's, must have the version of subversion, AND the subverison
> bindings for python built AGAINTS apache 2.2.  I migrated from other
> environment, and missed that step.  how to tell?  trac-admin initenv
> just sort of dies, no trace back, error, or success result -
> subversion bindings.
>
> however...I have one miss...
>
> while I am authenticated against the windows domain, I don't have
> admin rights, despite giving myself admin rights.  I added myself
> twice just to be sure, once as loginID  and onces as MyDomain\loginID.
>
> I do get logged in, logged in as MyDomain\loginID shows on trac page.
> Curiously, trac persmissions list me as MyDomain\\loginID  I suspect
> this has something to do with it, any suggestions?
>
> anyway, here is the list of what I didn/needed:
> -Installed python 2.5.2 with windows installer
> -installed easy_install windows installer (might not of needed, I
> forgot if 2.5 has easy_install in main distro)
> -Subversion 1.4.6 built against apache 2.2 (how to tell, look in the
> subversion\bin directory, if you have ibapr-1.dll your good, if you
> have ibapr.dll, its for apached 2.0.  This same check can be used for
> the libsvn python bindings under the site-packages\libsvn location.
> -Subverision python bindings built against apache2.2
> *note, when I tried to navigate to the apache2.2 subversion files from
> tigris.org, it bonked, round the link in the group 
> here...http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=81...
> -trac 0.11b2
> -PySQLlite windows binaries (technically not needed again for 2.5)
> -windows binaries from zip of pysqlite, and the pysqllite explorer
> tool (for my own use, but handy)
> -genshi 4.4
> mod_python for python 2.5
> Apache 2.2
> mod_auth_sspi_1.0.4
> TortiseSVN was helpful
>
> Some of this might be overkill, but it worked.  I followd the
> TracOnWindows/Advanced and the TracModPython instructions linked from
> there.
>
> in case anyone cares.  I also just say a thread on this group about
> process issues with mod python 
> here:http://groups.google.com/group/trac-users/browse_thread/thread/4cf659...
> haven't seen the issue yet, but ...
>
> anyway, if anyone has any tips on my permissions issues, please let me
> know.
>
> I have NOT created any kind of auth file, etc.  I just used windows
> authentication, not sure if that makes a difference.
>
> Cheers!  btw, thanks to all in the group, and those that have
> documented all these processes to date, aside from some self-inflicted
> wounds, it went' rather smoothly.

found it.  I added the user permissions all on the command line,
resulting in the double backslash (I know better on this one too).

solution is to add permission via the trac-admin console.

Later
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
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
-~--~~~~--~~--~--~---