[ale] cgi-bin

Fletch fletch at phydeaux.org
Mon Oct 23 21:41:43 EDT 2000


>>>>> "Ken" == Ken Nagorski <kenn at pcintelligent.com> writes:

    Ken> Hi, I want to make the ScriptAlias in apache the same as the
    Ken> document root. I tried making it look like this, ScriptAlias
    Ken> / /home/brush and ScriptAlias /home/brush/ /home/brush,
    Ken> niether worked... Is this possible? I need to be able to
    Ken> execute cgi's from the document root dir. I thought, oh
    Ken> that'll be easy. Now I know why I try to avoid thinking. :)

        A better solution would probably be to use a <Files> directive 
and set the handler for files with a specific extension:


<Files ~ "\.cgi$">
  SetHandler cgi-script
</Files>


        See the apache manual (manual/mod/core.html#files to be
specific) for more details.

-- 
Fletch                | "If you find my answers frightening,       __`'/|
fletch at phydeaux.org   |  Vincent, you should cease askin'          \ o.O'
770 933-0600 x211(w)  |  scary questions." -- Jules                =(___)=
                      |                                               U
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list