I'm replying off-list because I am just a newbie to this myself, but  
if your httpd.conf is set up like mine (very generic), then the  
SVNPath in httpd.conf and the svn path in trac.ini are for two  
separate functions. httpd provides the direct svn access for outside  
clients, but trac uses its own direct access to the repository for  
its svn actions. If you only had a SVN server, and no trac, then you  
would still need the httpd.conf entry. If you only wanted trac, with  
repository browsing, but no ability to access the repository from  
regular svn clients, then you could omit the httpd.conf entries.

On Dec 3, 2007, at 9:35 AM, Savvas, Panayotis wrote:

>
> Hi all,
>
> Does anyone have an idea as to why I need to include SVNPath in my
> httpd.conf for the trac location? I assumed it would use the trac.ini
> for this. Should the trac.ini point at the apache hosted url instead?
>
> As you can see below it is indicated in the svn location and the
> trac.ini also. I can't find any explanation of this elsewhere and am
> wondering if this is normal. Maybe I missed something in the excellent
> how-to's others have compiled, but I would like to understand it.
>
> Many thanks
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED]
> On Behalf Of Panos
> Sent: 30 November 2007 14:27
> To: Trac Users
> Subject: [Trac] TRAC SVNPath oddness
>
>
> 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.
>
> 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
>
>
>
>
>
>
>
> This e-mail and any attachment is for authorised use by the  
> intended recipient(s) only. It may contain proprietary material,  
> confidential information and/or be subject to legal privilege. It  
> should not be copied, disclosed to, retained or used by, any other  
> party. If you are not an intended recipient then please promptly  
> delete this e-mail and any attachment and all copies and inform the  
> sender. Thank you.
>
> 

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