[TriLUG] Apache question
Thu, 18 Oct 2001 14:59:12 -0400 (EDT)
On Thu, 18 Oct 2001 firstname.lastname@example.org wrote:
> > in the httpd.conf put
> > Alias /cvsweb /path/to/cgi-bin/cvsweb.cgi
> > restart apache i believe that is the way to do
> Ok, that's what I thought. But, when I did that, I get a "403 - Forbidden"
> error back from Apache, telling me that I don't have permission to access
Somehow my messages to trilug aren't getting out very well.
Here's my solution which will work quickly in two lines:
RewriteRule /cvsweb /cgi-bin/cvsweb.cgi
If you use aliases like others have suggested, you'll need to do this
# whatever other special options are necessary for the directory
That would result in unnecesssary duplication of information (plus the
Alias command duplicated the physical path to the cgi-bin directory).
Using the rewrite option I suggested uses less code and is more elegant,
although enabling the rewrite parser does incur some performance loss.