SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Evangelist
    Join Date
    Oct 2000
    Posts
    430
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    I'm trying to use a .htaccess file for a couple of things, the file is as follows:

    php_value include_path "/home/folder/public_html"
    DirectoryIndex index.php

    Where should I put the file or should I use 2 ?
    I upload all my files to public_html, but this is just one of a few folders in /folder/ - others include www, .htpsswords, public_ftp and tmp.

    should it go in the folder /folder/ or the folder /public_html/

  2. #2
    SitePoint Wizard
    Join Date
    Apr 2000
    Posts
    1,483
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I *think* you need to put it in every folder which has files that the .htaccess will be affecting, although not sure.
    Last edited by James; Feb 6, 2001 at 12:28.

  3. #3
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Like James said you will need it at the root level of the folders that will use the directives, in your case I will assume it is just your public_html folder and any sub dirs under it, so you can put right at the root level of public_html

    /home/folder/public_html/.htaccess
    Please don't PM me with questions.
    Use the forums, that is what they are here for.


Bookmarks

Posting Permissions

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