Alias /git "C:\Users\Administrator\BitNami Trac Stack repository"
<Location /git>
DAV on
Options FollowSymLinks Indexes
AllowOverride None
Order allow,deny
Allow from all
AuthType Basic
AuthName "git"
AuthUserFile "C:\Program Files\BitNami Trac Stack\apps\trac/users/htpasswd"
Require valid-user user
</Location>
On Thu, Jan 10, 2013 at 7:07 PM, victoria <[email protected]> wrote:
>
>
> On Thu, Jan 10, 2013 at 9:15 AM, Brettschneider Falk <
> [email protected]> wrote:
>
>> Hi,
>> My question is probably somehow off-topic but maybe some gurus are around
>> here, too.
>>
>> As I installed Bitnami Trac 1.0 Native on Win32 server I also want to map
>> the Git repo as URL out of Apache to enable git clone/checkout. But it
>> doesn't work with my current <Location> configuration in httpd.conf of
>> Apache that I somehow adapted from the SVN Location. The browser shows an
>> empty page only containing the text "Environment not found".
>>
>> <Location /git/test>
>> SetEnv GIT_PROJECT_ROOT "D:/gitRepos/test"
>> SetEnv GIT_HTTP_EXPORT_ALL
>>
>> DAV on
>> AuthName "GIT git test"
>>
>> AuthType SSPI
>> SSPIAuth On
>> SSPIAuthoritative On
>> SSPIDomain MYDOMAIN
>> SSPIOmitDomain On
>> SSPIUsernameCase lower
>> SSPIOfferBasic on
>> Require valid-user
>> AuthzSVNAccessFile "C:/git.conf"
>> </Location>
>>
>> Do you have an idea how to configure it correctly?
>>
>
>
> Can you check if in the apache error log file you find more details about
> the error?
>
Also can you check that a simpler configuration works for you? For instance
I tried the following (using the same auth file that trac) and worked for
me. It is likely that you need to add the Alias directive.
Alias /git "C:\Users\Administrator\BitNami Trac Stack repository"
<Location /git>
DAV on
Options FollowSymLinks Indexes
AllowOverride None
Order allow,deny
Allow from all
AuthType Basic
AuthName "git"
AuthUserFile "C:\Program Files\BitNami Trac Stack\apps\trac/users/htpasswd"
Require valid-user user
</Location>
>
>
>>
>> I created a Git repository on my server, activated Git support in Trac
>> and added the Git repository via Trac's Web Admin page. The repo is shown
>> in the source browser, so far so good.
>>
>> CU, F@lk
>>
>> ----
>> R&D Software
>> Baumer Optronic GmbH
>> www.baumer.com
>>
>>
>>
>> Gesch?ftsf?hrer: Dr. Albert Schmidt* Dr. Oliver Vietze
>> Sitz der Gesellschaft: Radeberg
>> Amtsgericht Dresden: HRB 15379
>> Ust. ID: DE 189714583
>>
>>
>> --
>> 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.
>>
>>
>
--
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.