[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: Les Mikesell <lesmikesell_at_gmail.com>
Date: Mon, 31 Aug 2009 12:48:38 -0500

Patricia A Moss wrote:
> >The ScriptAlias directive is not taking effect. Is it uncommented and
> >in the global section of the httpd.conf file? You probably can still
> >use /viewvc.cgi to access it with the DocumentRoot changed, or
> >/cgi-bin/viewvc.cgi if you have the usual ScriptAlias for /cgi-bin.
> 1. The Script Alias is commented out:
> ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
> ScriptAlias /viewvc /usr/local/viewvc-1.0.7/bin/cgi/viewvc.cgi
> ScriptAlias /query /usr/local/viewvc-1.0.7/bin/cgi/query.cgi
> 2. I believe that it is in the global section of the conf file. I
> simply copied the ScriptAlias line that was in the original file,
> uncommented and made changes as necessary.
> 3. I don't understand the last part of your comment.

ScriptAlias take the matching 1st argument found in the URL and maps it
to the 2nd argument in the filesystem as well as specifying that it is
executable. If it is commented out it obviously isn't going to work -
and the filesystem location specified has to match the actual location
of the file which doesn't seem to be the case.

ScriptAlias directives also apply to intermediate directories, so your
entry of:
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
means that a url of:
would execute /var/www/cgi-bin/viewvc.cgi, which is where I though you
said you put the file.

   Les Mikesell
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-31 19:49:49 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.