[1837] in RedHat Linux List
Re: Apache server help
daemon@ATHENA.MIT.EDU (Michael Ghens)
Wed Oct 30 12:29:41 1996
Date: Wed, 30 Oct 1996 09:24:48 -0800 (PST)
From: Michael Ghens <michael@spconnect.com>
To: Casper <syu@sunflowr.usd.edu>
cc: redhat-list@redhat.com
In-Reply-To: <Pine.SOL.3.94.961029220015.18608B-100000@sundance>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Hi, to get your cgi going, you need to go to srm.conf and edit a few lines
at the end.
This is how my cgi configuration in smr.conf looks like
# To use CGI scripts:
AddHandler cgi-script .cgi
# To use server-parsed HTML files
#AddType text/html .shtml
AddType text/html .html .htm
#AddHandler server-parsed .shtml
AddHandler server-parsed .html .htm
You have to change the shtml to html or htm like above so that all files
may have server side includes. Also, buy having the .cgi line alows cgi
scrips outside of the cgi-bin directory.
Hope this helps
Michael
-------------------------------------------------------------------
Michael Ghens | Area under construction
michael@spconnect.com | http://www.spconnect.com/~michael
B: (805) 563-1838 | Finger for PGP Public Key
====================SysAdmin, Small Planet Connections=============
Key fingerprint = 91 01 AF 8D F9 C9 27 9B 17 5F A0 DA C3 7C CC EE
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null