[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 14:14:19 -0500

Patricia A Moss wrote:
>
> >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

This one should be right according to what you said before.

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

Apache has not parsed your ScriptAlias and is still looking at the
DocumentRoot.

> Is the file, viewvc, that the error references the same as viewvc.cgi?

No, the error_log message should have the file name after translations.

> If so why does it not include the .cgi suffix in the error message?

Either you haven't restarted Apache, there is some reason it isn't
seeing your ScriptAlias in the right context, or you have some other
conflicting entry.

-- 
   Les Mikesell
     lesmikesell_at_gmail.com
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2389433
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-31 21:15:30 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.