[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: Gerald Waugh <gwaugh@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu Jun 6 11:03:00 2002
- Organization: Front Street Networks LLC
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
On Thursday 06 June 2002 12:19 pm, Dan Kriwitsky wrote:
> > That's the stock setting, but if you're willing to beat on
> > the actual httpd.conf file, you can set it to be just about
> > anything you want. =)
>
> It can also be done via .htaccess site by site or just a single
> directory
>
> AddType text/x-server-parsed-html .html
> AddType application/x-httpd-php .php4
> AddType application/x-httpd-php .php
>
> Now, some people will say, "but parsing every .html file loads the
> server." If every .html/.shtml file had an include statement for a
> footer tag anyway, setting it to parse .html files, so you don't have to
> rename all your files to .shtml, doesn't have any greater impact on the
> server at all.
I don't believe that "doesn't have any greater impact on the
server at all" is true,
It may have a minimal impact but it deffinately does eat more cpu cycles.
--
Gerald Waugh
http://www.frontstreetnetworks.com :: Phone. [011] 203.785.0699
Front Street Networks LLC | SOHO Networks & Web Site Hosting
229 Front Street, Ste. #C, New Haven, CT, 06513-3203 United States