Raymond Norton <admin at lctn.org> writes:

> I am trying to set up a calendar script on my fedora box which runs
> Apache/2.0.47. My cgi scripts display as text rather than execute even
> after I have made the necessary modifications to httpd.conf
>
> I have placed the scripts in /data/calendar 
>
> chmod 777 -R /data/calendar
>
> Added the following to httpd.conf
>
> <Directory /data/calendar>
>
> Options +ExecCGI
> </Directory>
>
> and restarted the server, but things still display rather than execute.
>
> Is there something else in a standard Apache config that is overriding
> this?

Either use scriptalias to make executing the *default* in that
directory, or else you have to name the script with something that
maps to 'script-handler', like:

    AddHandler cgi-script .cgi
-- 
David Dyer-Bennet, <mailto:dd-b at dd-b.net>, <http://www.dd-b.net/dd-b/>
RKBA: <http://noguns-nomoney.com> <http://www.dd-b.net/carry/>
Photos: <dd-b.lighthunters.net>  Snapshots: <www.dd-b.net/dd-b/SnapshotAlbum/>
Dragaera/Steven Brust: <http://dragaera.info/>

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list