Eskimo North


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

          Server Side Includes - XBitHack


          • To: ericj@eskimo.com, evol@eskimo.com, snocat@eskimo.com
          • Subject: Server Side Includes - XBitHack
          • From: Robert Dinse <nanook@eskimo.com>
          • Date: Tue, 18 Apr 2000 19:34:31 -0700 (PDT)
          • cc: eskimo-announce@eskimo.com
          • Newsgroups: lobby, announcements
          • Resent-Date: Tue, 18 Apr 2000 19:35:43 -0700
          • Resent-From: eskimo-announce@eskimo.com
          • Resent-Message-ID: <"glWYK.0.qj2.-jH_u"@mx1>
          • Resent-Sender: eskimo-announce-request@eskimo.com

          
          
               I have enabled the XBitHack feature of Apache in "full" mode.
          
               This has some important ramifactions even for files which do not use
          server side includes, particularly CGI scripts.
          
               This feature does two things:
          
          	1) Now instead of having to name files with an extension of ".shtml"
          	   in order to have the server parse them for SSI directives, you can
          	   set the user execute bit on a file with .html or .htm extensions:
          
          		chmod u+x file.html
          
          	2) The group execute bit now has special meaning, if set, proxy servers
          	   will be allowed to cache the result.  This has very important
          	   ramifications for CGI's which produce dynamic content or which must
          	   not have their output cached.  CGI's such as counters or banner
          	   advertisements or anything which produces dynamic content must NOT
          	   have their group execute bit set.
          
               The main reason I enabled this feature is that I really needed to use
          server side includes to make management of our web site workable.  Right now I
          have to exit approximately 50 files to change a menu bar option, six files to
          add a new state to the coverage area, several hundred files to make a change to
          font or colors, etc.  If I had to re-name everything .shtml not only would it
          be a lot of editing but it would break existing search engine pointers. 
          
               But a secondary plus is that those of you working on DOS systems limited
          to a three character extension can now use server side includes with the .htm
          extension. 
          
               I enabled the full feature which includes support for allowing or
          disallowing cacheing based on the group execution bit because it is convenient
          to be able to specify this on a per file basis. 
          
               However, because CGI's will have the user execute bit set by default (else
          it can't run), it's important to make sure the group execute bit is not also
          set or your counter results, banner ads, etc, will be cached in proxy servers,
          you'll see fewer hits on the counter, the customer will see the same counter
          value, banner ad, etc. 
          
          
          

          • Prev by Date: Covad DSL Rebate
          • Next by Date: Java Development Kit (JDK)
          • Prev by thread: Java Development Kit (JDK)
          • Next by thread: Covad DSL Rebate
          • Index(es):
            • Date
            • Thread