[TriLUG] Apache question

jeremyp at pobox.com jeremyp at pobox.com
Thu Oct 18 14:21:43 EDT 2001


On Thu, 18 Oct 2001 prhodes at vdsinc.com wrote:

> I just got done installing CVSWeb, which works great. But, right now I have
> to type http://cvs/cgi-bin/cvsweb.cgi in every time I want to visit the
> site.  Can anybody explain to me how to configure apache to use an alias
> for this?  So I can do something like http://cvs/cvsweb  and get the site.
> 

Um, ever heard of a bookmark ?

But, to answer your question: a quick and dirty way would be to rewrite
the URL:

<Directory />
RewriteEngine On
RewriteRule /cvsweb /cgi-bin/cvsweb.cgi
</Directory>

Mod_rewrite is really very cool!
http://httpd.apache.org/docs/mod/mod_rewrite.html

Hope this helps,
Jeremy




More information about the TriLUG mailing list