[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Moved to a new Subversion server....

From: Giulio Troccoli <giulio.troccoli_at_uk.linedata.com>
Date: Tue, 1 Sep 2009 13:19:01 +0100

Did you upgrade Apache too? /var/www/html is the default DocumentRoot for Apache 2.0 while /use/local/apach2/htdocs is the default for Apache 2.2. If you have, there might be other differences in the configuriation that makes your ViewVC not to work.

________________________________
From: Patricia A Moss [mailto:pmoss4_at_csc.com]
Sent: 01 September 2009 13:16
To: Giulio Troccoli
Subject: RE: Moved to a new Subversion server....

I asked about the symlink because the error that I keep seeing in the error log file is:
[Tue Sep 01 07:30:40 2009] [error] [client 20.6.191.231] File does not exist: /var/www/html/viewvc

This whole viewvc configuration is confusing to me.
/var/www/html is what my DocumentRoot is configured to. I set it to that because on my old svn server the viewvc config file had its DocumentRoot set there.
I wonder if I create a symlink, similar to yours, if that would resolve my issue and make my viewvc work.

PATI MOSS
System Engineer Sr. Professional
CSC

Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com>

09/01/2009 08:05 AM

To
Patricia A Moss/GIS/CSC_at_CSC
cc
Subject
RE: Moved to a new Subversion server....

The svnstat directory is the one that contains the statistics created by SVNStat, or maybe it was StatSVN. They are still there but we don't really use them.

You mean the sym link to viewvc-1.1.1? Well, I didn't read it anywhere. I just thought that if I had configured apache to work with a sym-link then I wouldn't have to change any configuration if I upgrade ViewVC. Or if I want to have two versions of it I just need to change the link and not the configuration.

________________________________
From: Patricia A Moss [mailto:pmoss4_at_csc.com]
Sent: 01 September 2009 12:28
To: Giulio Troccoli
Subject: RE: Moved to a new Subversion server....

Giulio,

       Thank you.
       What is that svnstat directory that is under /usr/local/apache2/htdocs/?
       How did you know to create that symbolic link?

PATI MOSS
System Engineer Sr. Professional
CSC

Giulio Troccoli <giulio.troccoli_at_uk.linedata.com>

09/01/2009 05:58 AM

To
users_at_subversion.tigris.org
cc
Subject
RE: Moved to a new Subversion server....

Sorry for top posting (Outlook here)

Here my configurations that work for me. I'm using Apache 2.2.11, Subversion 1.6.4 and ViewVC 1.1.1

DocumentRoot "/usr/local/apache2/htdocs"
ScriptAlias /viewvc "/usr/local/viewvc/bin/cgi/viewvc.cgi"
<Directory "/usr/local/viewvc/bin/cgi/viewvc.cgi">
 AllowOverride None
 Options None
 Order allow,deny
 Allow from all
</Directory>

The htdocs directory has only an index.html page

ln1sub01 root> ls -l /usr/local/apache2/htdocs
total 8
-rw-r--r-- 1 root root 485 Aug 20 11:58 index.html
drwxrwxr-x 6 svnstat svn 4096 Aug 20 12:03 statsvn
/usr/local/viewvc is a link to /usr/local/viewvc-1.1.1 which is where I installed ViewVC 1.1.1

ln1sub01 root> ls -l /usr/local/
total 108
lrwxrwxrwx 1 root root 12 Jun 18 15:27 viewvc -> viewvc-1.1.1
drwxr-xr-x 6 svn svn 4096 Aug 19 16:30 viewvc-1.1.1
It works pretty well for me.

Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851 VAT Reg No 778499447

________________________________

From: Patricia A Moss [mailto:pmoss4_at_csc.com]
Sent: 31 August 2009 19:56
To: Les Mikesell
Cc: Campbell Allan; Ryan Schmidt; users_at_subversion.tigris.org
Subject: Re: Moved to a new Subversion server....

>The 2nd parameter to the ScriptAlias directive should be the actual
>location of the file. Once you have fixed that, either the application
>should execute or you should get a different error message in the log file.

I have attempted to set the Script Alias to various paths;
ScriptAlias /viewvc "/var/www/cgi-bin/"
ScriptAlias /viewvc /var/www/cgi-bin/viewvc.cgi
and
ScriptAlias /viewvc /usr/local/viewvc-1.0.7/bin/cgi/viewvc.cgi

and I still get the same message in the error log:
[Mon Aug 31 14:49:01 2009] [error] [client 20.8.230.132] File does not exist: /var/www/html/viewvc

Why is it looking under /var/www/html?
Is the file, viewvc, that the error references the same as viewvc.cgi? If so why does it not include the .cgi suffix in the error message?

Does anyone have an httpd.conf file example, with viewvc configured, that I can take a look at?

PATI MOSS
System Engineer Sr. Professional
CSC

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2389741

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-01 14:20:00 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.