Results 1 to 4 of 4
  1. #1

    How do I redirect visitors with htaccess?


    Can you tell me how to get visitors to my
    root domain to arrive at my index page
    in my sub diretory please?

    Currently my htaccess has this:

    <Files directory>
    AddHandler server-parsed .php
    SetHandler application/x-httpd-php

    But they are not taken to the index in
    the sub directory.


  2. #2
    DirectoryIndexes index.php

    add this just below the sethandler

  3. #3
    Join Date
    Oct 2002
    State of Disbelief
    That won't send them to the directory, it will just make sure the index.php is served first once they get there if they don't specify a page (unless that's what you'd wanted?).

  4. #4
    The file I want them served with is :
    where directory has no suffix or file extension.

    So do I just add
    DirectoryIndexes subdirectroy/default ??

Posting Permissions

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