On Fri, 27 Mar 1998, Saleh A. Al-Abbad wrote:
> I am trying to configure my apache server to recognize Server Side Includes. I have
>edited srm.conf and found the following lines :
>
> $$$$$$$$$ start $$$$$$$$$$
> # If you want to use server side includes or CGI outside
> # ScriptAliased directories uncomment the following lines
>
> # AddType allows you to tweak mime.types without actually editing it or to
> # make certain files to be certain types.
> # Format: AddType type/subtype ext1
> $$$$$$$$$ end $$$$$$$$$$
>
> According to the text above, it says if I want to use server side includes I have to
>uncomment the next lines, but I think the lines following are not related to SSI. I
>feel the code is missing some lines. Could anybody please email me any code that fits
>in here to get SSI recognized ?
>
> Saleh
>
>
You should add two lines into srm.conf file:
AddType text/html .shtml
AddHandler server-parsed .shtml
And restart your httpd. Now all html with the extension .shtml will enable
SSI.
Hope this helps.
shen
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.