On Dec 1, 1:27 am, Panos <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I am new to trac/svn/apache but have configured a basic setup of the
> free and am very impressed.
> I have one question at the moment which is confussing me:
>
> I have had to add the SVNPATH to my "trac" location in httpd.conf,
> which seems strange. If not the error log complains that it is
> missing. Does this mean anything to you? It took me  a while to figure
> this out as I have not seen this mentioned anywhere online. However it
> does fix it.

Why do you have:

    AuthzSVNAccessFile "C:\Program Files\Apache Group
\Apache2\svnaccessfile.txt"

defined at '/' context and not '/TestProject'?

Its presence in the root context is possibly what is causing the
problem.

Graham

> Please see excerpts from httpd.conf and trac.ini below
>
> Versions:
> trac 0.10.4
> apache 2.0.6x
> svn 1.45
>
> files:
> ########### TRAC.INI ##############
> [trac]
> authz_file =
> authz_module_name =
> base_url =
> check_auth_ip = true
> database = sqlite:db/trac.db
> default_charset = iso-8859-15
> default_handler = WikiModule
> htdocs_location =
> ignore_auth_case = false
> mainnav = wiki,timeline,roadmap,browser,tickets,newticket,search
> metanav = login,logout,settings,help,about
> permission_store = DefaultPermissionStore
> repository_dir = c:\Projects\svn\TestProject
> repository_type = svn
>
> ########### httpd.conf ##############
> <Location />
>   AuthType SSPI
>   AuthName "TestProject"
>   SSPIAuth On
>   SSPIAuthoritative On
>   SSPIDomain groupinfra.com
>   SSPIOfferBasic On
>   #SSPIOmitDomain on  //**this makes things a lot easier**
>   #SSPIUsernameCase lower
>   SSPIBasicPreferred On
>   SSPIOfferSSPI off
>   AuthzSVNAccessFile "C:\Program Files\Apache Group
> \Apache2\svnaccessfile.txt"
>   Require valid-user
> </Location>
> #SVN
> <Location /TestProject>
>   DAV svn
>   #SVNListParentPath on
>   SVNPath C:\Projects\svn\TestProject
>   #SVNParentPath C:\Projects\svn
> </Location>
>
> #TRAC
> <Location /tracs> # the top level url that hosts multiple projects
>    SetHandler mod_python
>    PythonHandler trac.web.modpython_frontend
>    PythonOption TracEnv C:\Projects\trac\TestProject
>    PythonOption TracUriRoot /tracs
>    SVNPath C:\Projects\svn\TestProject
> </Location>
>
> If i remove the SVNPath from the /tracs location the following occurs
> in the error.log  when I try to navigate to the trac website:
>
> [Fri Nov 30 14:13:40 2007] [error] [client 127.0.0.1] The server is
> misconfigured: either an SVNPath or SVNParentPath directive is
> required to specify the location of this resource's repository.  [500,
> #190000]
>
> It seems to be working, however it makes not much sense, and I am
> worried it will cause issues
> later
>
> Thanks
>
> Panos
--~--~---------~--~----~------------~-------~--~----~
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