Re: [viewvc-users] /svn root dir for svn instead of /viewvc

"C. Michael Pilato" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <49F8AF34.9050009__41582.1645911366$1241034631$gmane$org@collab.net>
There is no trick.  ViewVC can't share the URL pathspace with
Subversion.  Apache has to be able to make decisions about how to
handle, say, a GET request from a client for the URL /svn/foo/bar.  How
will it know if ViewVC should display the path or if Subversion should
field it?  The answer is, it can't.  You must have ViewVC and Subversion
occupy distinct URL locations.

Wojciech Wróblewski wrote:
>
> Hello,
>
>  
>
> After many hours spend on installing
> Apache2.2.11+SVN1.6+ViewVC1.1.0-beta1+Py2.6+Mod_python3.3.2.py26.apache2.2(I
> compiled by myself :D, because there wasn’t any for py26) I successful
> went to the place that it WORKS on WinXP! :)
>
>  
>
> But...
>
>  
>
> I used example from FAQ there was written that I have to use
> ScriptAlias and it looks like this below:
>
>  
>
> -----------------------------------------------------------------
>
> <Location /svn>
>
> DAV svn
>
> SVNListParentPath on
>
> SVNParentPath C:/SVN_REP
>
> #SVNIndexXSLT "/svnindex.xsl"
>
> AuthType Basic
>
> AuthName "Subversion TEST repositories"
>
> AuthUserFile conf/passwd
>
> #AuthzSVNAccessFile svnaccessfile
>
> Require valid-user
>
> </Location>
>
>  
>
> ScriptAlias /viewvc c:\viewvc-1.1.0-beta1\bin\mod_python\viewvc.py
>
> <Directory c:\viewvc-1.1.0-beta1\bin\mod_python>
>
> AddHandler mod_python .py
>
> PythonHandler handler
>
> PythonDebug On
>
> Order allow,deny
>
> Allow from all
>
> </Directory>
>
> -----------------------------------------------------------------
>
>  
>
> When I open http://localhost/viewvc I see my Repository in ViewVC
> mode, but I wanted to see it in this mode, when I open
> http://localhost/svn. On /svn root I see my repository, but in normal
> view.
>
>  
>
> That must be some kind of trick (I’m “green” in configuring that kind
> of things). I thought, that when I change “ScriptAlias /viewvc” with
> “ScriptAlias /svn” it would works, but it doesn’t.
>
>  
>
> Is it possible to do some kind of thing?
>
>  
>
> Wojtek
>


-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=1984327

To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkn4rzQACgkQokEGqRcG/W41/ACeKeniutKbrcq23I0CKMG2tVmp
0FIAn0msWgFBmLY8Cii9fOIEonOhP179
=bI/n
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.