Re: apache cgi-bin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 17, 2006 at 09:45:41PM +0000, azeem ahmad wrote:
> 
> 
> 
> >From: "Styma, Robert E (Robert)" <stymar@xxxxxxxxxx>
> >Reply-To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
> >To: "'For users of Fedora Core releases'" <fedora-list@xxxxxxxxxx>
> >Subject: RE: apache cgi-bin
> >Date: Fri, 17 Feb 2006 14:40:00 -0700
> >
> >Also, default apache configurations want to run executables out
> >of the cgi-bin and will only serve html files out of the normal
> >html directory.  So, you could have apache configuration differences
> >between you test and production servers.
> >
> >Bob Styma
> 
> i have specified
> ScriptAlias /cgi-bin/ /some/path/cgi-bin/
> 
> and this script resides in the same directory, could there be any more 
> configuration to make.
> Regards
> Azeem
Apache, by default, will not run an html file as a cgi script. Try changing the
script from *.html to *.cgi and see if that works. If it does, and you really
need to use cgi scripts with a .hmtl extension, you'll have to edit the 

AddHandler cgi-script .cgi

line in httpd.conf, and add .html to the end. You may be better off just
getting into the habit of using a .cgi extension on your scripts. 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux