[thelist] Included Files

Sam-I-Am sam at sam-i-am.com
Fri Apr 6 16:46:35 CDT 2001


assuming the unix server is running apache, the default extension for
server-parsed files (which is what you need for your includes to work)
is .shtml 
But depending on the configuration even this may not be switched on, you
may be able to add a line to the .htacess file, in the relevant
directory

AddHandler server-parsed .shtml
    
or you may have to contact the server admin to enable it for you (or
enable you to do so). While he/she is at it, you may be able to pick
whatever file extension works best for you: .html or whatever. 

see: http://httpd.apache.org/docs/howto/ssi.html.html 

hth
Sam

Salvatore Palmisano wrote:
> 
> Is it possible to utilize the include file statement with straight HTML?
> Im working on a project that is housed on a UNIX server (remote location)
> and cant seem to use the <!-- #INCLUDE FILE="who.html"--> statement.
> Im used to using this syntax from within *.shtml or *.asp pages but its
> always been under IIS4 or IIS5.
> Is this possible on a UNIX web server?




More information about the thelist mailing list