Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2003
    Posts
    69

    CMS with HTML extension

    I hv come a cross some large site and I believe they are using CMS. One such site is http://www.southaustralia.biz But interestingly, all their page ends with a .htm.

    Anyone know of a CMS that does that? Or if it is not using a CMS at all.

  2. #2
    Join Date
    Aug 2002
    Location
    Chicago
    Posts
    563
    It can be done using mod_rewrite and from what it seems at the first look, they are using Website Baker: http://www.websitebaker.org a very powerful CMS.

  3. #3
    Join Date
    Jun 2004
    Location
    Northwest Colorado
    Posts
    4,636
    You don't even need mod_rewrite. A simple .htaccess statement mapping all .htm files to .php (.jsp, .asp, whatever) will do the trick, maybe not for websitebaker which I'm not familiar with.
    Eric J. Bowman, principal
    Bison Systems Corporation coming soon: a new sig!
    I'm just a poor, unfrozen caveman Webmaster. Your new 'standards' frighten, and confuse me...

  4. #4
    Join Date
    Jul 2003
    Posts
    69
    Originally posted by BigBison
    You don't even need mod_rewrite. A simple .htaccess statement mapping all .htm files to .php (.jsp, .asp, whatever) will do the trick, maybe not for websitebaker which I'm not familiar with.
    Thanks Bigbison, How should the htaccess statement be? I got no idea on how this shd be done.

  5. #5
    Join Date
    Jun 2004
    Location
    Northwest Colorado
    Posts
    4,636
    Something like this:

    AddHandler application/x-httpd-php .htm

    This forces all .htm files to be executed as PHP scripts.

    http://httpd.apache.org/docs/mod/mod_mime.html

  6. #6
    Join Date
    Jul 2003
    Posts
    69
    eh....But I am actually looking for a way to make php into htm...

  7. #7
    Join Date
    Jun 2004
    Location
    Northwest Colorado
    Posts
    4,636
    Originally posted by dxoxb
    eh....But I am actually looking for a way to make php into htm...
    My way does require the files to be saved, and linked to, as .htm. If you want the files saved as .php, but linked to as .htm, you will need mod_rewrite.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •