|
Posted by Chris F.A. Johnson on 02/05/07 19:13
On 2007-02-05, Alfred Molon wrote:
> In article <eq7fbo$ass$1@ss408.t-com.hr>, Shija says...
....
>> Every time page is loaded, server will change line:
>> <!--#include file="buttons.txt" --> with code in buttons.txt
>> When you need to add, or change some buttons, just change code in
>> buttons.txt, and this change will appear on every page.
>>
>> Of course, your server needs to support SSI, but I think most servers do.
>
> Don't you have to use the ending *.shtml for that?
If the "x-bit hack" is set in the Apache config, an .html file with
the execute bit set will also be parsed for server-side includes.
See: <http://httpd.apache.org/docs/2.0/mod/mod_include.html#xbithack>.
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
Navigation:
[Reply to this message]
|