where is my mistake?

VilleSkyttä scop at FreeBSD.org
Mon Aug 16 14:52:58 PDT 2004


On Mon, 2004-08-16 at 12:03, Mesut GÜLNAZ wrote:
> where is my mistake?

What's the problem?  Some wild guesswork:

> su-2.05b# uname
> FreeBSD

Did you use the FreeBSD port?  (devel/cvsweb3 for the current one or
devel/cvsweb for the old 2.0.x one.)

> DocumentRoot "/usr/local/www/cgi-bin"

That's possibly not what you want.  Usually DocumentRoot is for static
HTML docs, and cgi-bin directories are configured using ScriptAlias. 
Read the documentation in httpd.conf and/or the Apache website.  Maybe
something like:

  DocumentRoot "/usr/local/www/data"
  ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin/"

> su-2.05b# cat /usr/local/www/cgi-bin/cvsweb.cgi          

Including output from commands like that on this list is not that useful
or polite.  Please don't do that.



More information about the freebsd-cvsweb mailing list