cgi's in the root.

datawolf@ibm.net datawolf@ibm.net
Thu, 15 Jun 2000 00:36:17 -0700


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 administrator@host.com
>         ServerName customer.com
>         DocumentRoot /home/httpd/localdirectory
>         ScriptAlias /cgi-bin/ /home/httpd/localdirectory/cgi-bin/
> </VirtualHost>
> 
> _______________________________________________
> Plug-discuss mailing list  -  Plug-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss