Results 1 to 6 of 6

Thread: multiple .htaccess files

  1. #1
    Triple Platinum Member hotmale's Avatar
    Join Date
    Mar 2004
    Location
    Lebanon
    Posts
    867

    multiple .htaccess files

    Is it possible to create two .htaccess files under the same domain?
    e.g. one for the entire site mydomain.com and one for mydomain.com/folder

    I want to do this 'cause I want to create different custom 404 error pages for two different sections of my site.

  2. #2
    Nobody knows I'm a dog. TZ Veteran petard's Avatar
    Join Date
    Feb 2003
    Location
    Newspapastan
    Posts
    964
    Your better off configuring .htaccess to use groups and realms. Much information is available at httpd.apache.org, as well as other sources on the web.

    Many thanks to egghead for the cool .sig

  3. #3
    Triple Platinum Member hotmale's Avatar
    Join Date
    Mar 2004
    Location
    Lebanon
    Posts
    867
    Thanks, petard. I'll look into it, but I'm now a bit busy with rik's post (http://americanthundertv.com/)

  4. #4
    Triple Platinum Member hotmale's Avatar
    Join Date
    Mar 2004
    Location
    Lebanon
    Posts
    867
    Hey! I'm back. Now I couldn't find my way at httpd.apache.org, so I searched Google for ".htaccess groups realms" which brought up many results. None seems to be relevant though Do you know a particular guide or tutorial that would help? I'd really appreciate it.

  5. #5
    Nobody knows I'm a dog. TZ Veteran petard's Avatar
    Join Date
    Feb 2003
    Location
    Newspapastan
    Posts
    964

    Many thanks to egghead for the cool .sig

  6. #6
    Triple Platinum Member hotmale's Avatar
    Join Date
    Mar 2004
    Location
    Lebanon
    Posts
    867
    Thanks! I'll go through them now.

Posting Permissions

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