cgi's in the root.

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: DonHarropdon@nis4u.com
Date:  
Subject: cgi's in the root.
Yep.

> Are your cgi programs executable? An "ls -l myfile.cgi" should give
> something like:
>
>    -rwxr-xr-x

>
> The x's mean executable. You can make a file executable by everyone
> with:
>
>    chmod a+x myfile.cgi

>
> -BVG
>
> Don Harrop wrote:
> >
> > The following are the main settings that I have for a domain that I'm
> > hosting. I want to be able to run .cgi's from the root web page. As

far as
> > I can find out these are the options that I need to make that happen so

I
> > must not know something becaues it still doesn't run cgi's from the root
> > directory. I can run the cgi's in my ScripAlias just fine though. That
> > wouldn't bother me but there are links all over the place already

pointing
> > to a cgi file in the root directory. Idea's anyone?
> >
> > Don
> >
> > AddHandler cgi-script .cgi
> >
> > <Directory /home/httpd/localdirectory>
> > AllowOverride None
> > Options ExecCGI
> > </Directory>
> >
> > <VirtualHost 205.216.140.31>
> >         ServerAdmin 
> >         ServerName customer.com
> >         DocumentRoot /home/httpd/localdirectory
> >         ScriptAlias /cgi-bin/ /home/httpd/localdirectory/cgi-bin/
> > </VirtualHost>

> >
> > _______________________________________________
> > Plug-discuss mailing list -
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>
>
> _______________________________________________
> Plug-discuss mailing list -
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>