How to autorun .cgi from domain root


#1

Hi,

I have MoinMoin installed. I would like for the relevant cgi script to automatically run when someone visits the domain. Is this a .htaccess entry or an index.html entry?

I got it running using the new directions at:
http://wiki.dreamhost.com/MoinMoin

I end up with a a working site at:
wiki.domain.com/wiki.cgi

I have the domain set by the DomainHost control panel to run as wiki.domain.com or www.wiki.domain.com

However when I simply type wiki.domain.com I get a directory list instead of running the .cgi.

Is there a way to edit the .htaccess automatically run the cgi? Essentially from wiki.domain.com/to wiki.domain.com/wiki.cgi and www.wiki.domain.com/ to www.wiki.domain.com/wiki.cgi

I tried using a 301 redirect but that does not seem right.

Any suggestions?

Thanks


#2

.htaccess entry.