[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Server Side Includes
- Subject: Re: [cobalt-users] Server Side Includes
- From: "Steven Werby" <steven-lists@xxxxxxxxxxxx>
- Date: Wed Aug 23 09:14:14 2000
miquel piulats <miquel@xxxxxxxxxxxxxx> wrote:
> Any problem if I make:
>
> AddHandler server-parsed .shtml .htm .html
> AddType text/html .shtml .htm .html
>
> on /etc/httpd/conf/srm.conf?
No. Just realize that all of your .htm and .html files will be parsed as SSI
before being sent to the user's browser. Pure HTML web pages will therefore
take slightly longer to load and under a heavy load you'll be able to serve up
less web pages. Of course, if all of your web pages use SSI anyway it will make
no difference at all. Almost all of my web pages use PHP so I give them .html
extensions and parse all .html extensions on those sites as PHP. Why? Because
I see no advantage in making the user aware that my web pages are generated with
some level of dynamic content.
--
Steven Werby {steven-lists@xxxxxxxxxxxx}