Protection and Personalization

Discussion in 'Setting-up protection' started by Mandy, Feb 4, 2004.

  1. Mandy

    Mandy Guest

    Hi Alex

    At the moment all my pages within my members site have .htm
    extensions. Can the "auto_prepend with php_include" change this
    to .php? Or does it only change .html extensions.

    Also in regards to the personalization of pages - such as greeting
    a client with their username etc using .shtml file - is there any other
    to do this?

    I am thinking my only option is "mod_rewrite with php_include", if
    I can't do "auto_prepend with php_include" and manually change
    all the htm files to php extensions. Not quite sure what to do or
    what is the best option is for me.

    Thanks Alex...

    Kind regards
    Mandy :eek:
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
  3. skippybosco

    skippybosco Guest

    re: mod rewrite...

    I'm curious about this as well.

    If I have an .html based site and wish to use mod rewrite, do I have to rename my .html to .php? Is there anything special I need to do with the files besides rename them? (These are very basic html files, ie. no scripting or anything fancy just tables, images and text)

    Thanks!
    Frank
  4. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    No, you don't need to rename. mod_rewrite can protect any type of files without any additional actions.
    All you need to do is put .htaccess file to folder, and it becomes protected (if your hosting supports this type of protection at all!)

Share This Page