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=2389711
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-01 12:00:16 CEST