Help installing PHPLD script.~~~~ htaccess

Discussion in 'PHP' started by xtremenitro911, Feb 2, 2009.

  1. #1
    Hello. I was wondering if anybody was framiliar with installing phpld script. I'm uploading into a subfolder so the instructions say this:

    If you are running your directory under a subfolder of your domain
    please edit the .htaccess file.
    In this case you need to add the foldername in the "ErrorDocument 404" statement:

    - ErrorDocument 404 directory/index.php?httpstatus=404


    I can't figure out how to do this. I can't find the .htaccess file. Does anybody know what folder it would be in or if I need to create it? If I need to create it what do I put in the file once the file is created?

    Any help would be appreciated. Thanks in advance.
     
    xtremenitro911, Feb 2, 2009 IP
  2. NuLLByTe

    NuLLByTe Active Member

    Messages:
    382
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    80
    #2
    Do you have Linux? If yes, files and folders beginning with a "." are hidden.
    The .htaccess file is present on Windows, and it is very visible :)

    [​IMG]

    If you have Linux, try going to a terminal and:
    
    cd path/to/phpld_root_folder/
    nano .htaccess
    
    Code (markup):
     
    NuLLByTe, Feb 2, 2009 IP
    xtremenitro911 likes this.
  3. InovvativeTech

    InovvativeTech Banned

    Messages:
    32
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hello,

    If you dont have .htaccess you can create it using File manager present in your hosting control panel (usually every hosting control panel has file manger) and add the code to .htaccess
     
    InovvativeTech, Feb 3, 2009 IP
    xtremenitro911 likes this.
  4. ihateasianparents

    ihateasianparents Banned

    Messages:
    181
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    ^ Yes thats what you do.
    IF you also have further problem you should post on phpld's forum.
     
    ihateasianparents, Feb 3, 2009 IP
    xtremenitro911 likes this.