1. 16 February 2004

    Testing

    I am in the process of hammering out some low configurations…

    I am in the process of hammering out some low configurations… The way I decided to do it is quite contrived, but I also believe that it is proper. In apache I set the DefaultType to application/xhtml+xml. So it serves everything as proper xhtml. The reason I had to do that is I don’t serve my pages with an extension (à la mark) and it is difficult to set files without an extension as a certain type.

    Because of that, I have to go back and do some fault handling with mod_rewrite, because css files served as xhtml should not get parsed as css (but then the only browser that actually does any of this right is mozilla). Also, I need a mod_rewrite rule to serve the pages as text/html to all UA’s that don’t send application/xhtml+xml in the HTTP_ACCEPT header.
    And the last thing I have to do is nail SSI with apache, which again is tough because I don’t append .html to my html files, I leave them blank. So this time I had to go into the MT config and set HTMLPerms in mt.cfg to 0777, and then set XBitHack on in apache to parse all files with their executable bit set for SSI.
    And I think that I have all this set right now, but need to do a little testing.

    Update: If you go messing with the HTMLPerms in mt.cfg also be sure to know what HTMLUMask does… Set HTMLPerms to 0777 and the HTMLUmask to 0000 and your files will be executable, but otherwise Umask messes up HTMLPerms.

    tags:

  2. Happy Leap Day | Study Said the Aspiring Architect