Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Aug 2003 22:47:25 +0300
From:      Ville =?ISO-8859-1?Q?Skytt=E4?= <scop@FreeBSD.org>
To:        freebsd-cvsweb@FreeBSD.org
Subject:   Re: Hiding the 'cvsweb.cgi' from the address
Message-ID:  <1062359245.24993.115.camel@bobcat.mine.nu>
In-Reply-To: <000701c36fde$5e8fa180$0b01a8c0@pluto>
References:  <000701c36fde$5e8fa180$0b01a8c0@pluto>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sun, 2003-08-31 at 19:38, Rory Vieira wrote:
> Hi,
> 
> I have successfully installed cvsweb.cgi on my Linux server.
> I've put the script in /var/www/cvs, and the config in /etc/apache
> Apache uses the following directives:
> 
> Alias /cvs/ /var/www/cvs/
> <Directory "/var/www/cvs">
>   Options ExecCGI
>   DirectoryIndex cvsweb.cgi
> </Directory>
> 
> I would like the browser to stick with the http://www.mysite.com/cvs/ url
> instead of http://www.mysite.com/cvs/cvsweb.cgi.
> Does anyone have an idea on how to solve this?

How about installing cvsweb.cgi as /var/www/cvs (ie. a executable file
under /var/www/) and using the following Apache config snippet?

  <Location /cvs>
    SetHandler cgi-script
    Options ExecCGI
    [rest of your options here]
  </Location>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1062359245.24993.115.camel>