Hello, 

   I ran into a problem with SSI when I put the home page of a large web site 
under Samber: this page has Server Side Includes, displaying some file update 
dates, and in the beginning carries this command 

   <--!#config  timefmt="%d.%m.%Y, %H.%M"--> 

   to configure the time display in the European (German) form. 

   This is one of three SSI commands which are not supported by Sambar (I use 
version 5.2). 

   Searching the documentation, I stumbled on this in the SSI documentation: 

------ quote ---------------
Extending SSI Commands
Server-side include commands may be extended using the Sambar Server DLL 
interface (sa_cmd_init). See the sample programs included with the Sambar 
Server for more information.
------------ end quote -------

   So I could write some program to at least give some presence to the CONFIG 
SSI command, so that the Sambar Server would at least display the page without 
complaining. 

   But I am at odds to understand what kind of program this has to be -- a 
DLL, obviously, but how would this DLL be called? Does it have to be 
configured, and how? 

   Also, I prefer to program in Pascal (i.e. Delphi) instead of C, so what are 
my possibilities to use Pascal for the Sambar Server API? 

   BTW, without the CONFIG SSI command, the dates were displayed correctly; 
this may be due to the Windos NT configuration. 

   On the production site, this web site is under Apache, and I think I need 
this config SSI, since it would otherwise display the date in US format, which 
is not well suited for a German language site. 


Yours, 
L�ko Willms
-----------------------------------------------
Frankfurt/Main  
-------------------------------------------------------
To unsubscribe please go to http://www.sambar.ch/list/



Reply via email to