[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Server Side Includes




> > #2. Dynamically create the web pages.
> > 
> > How to do #2:
> > 
> > Define an action in WebStar which says something like:
> > 
> > If a file that ends in .html is requested, execute XXX CGI instead.
> 
> Or, just to add my $0.02, you might define the action to execute your cgi
> only for pages that end in, say, .htmlx, and leave regular .html files
> alone.  That way you don't need to take the speed hit on any pages that
> don't need SSI.

This is how it is done on UNIX web servers I have used.
The file extension for SSI files is typically ".shtml".


Bill