The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

two identical .htaccess files in public_html ?

Discussion in 'Security' started by lottocheatah, Mar 5, 2012.

  1. lottocheatah

    lottocheatah Active Member

    Joined:
    May 17, 2011
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    If I ftp into the public_html directory on my site and look for all files ".*" I get two instances of the same .htaccess file appearing at the top of the filelist. Is this normal?
     
  2. hoststop

    hoststop Well-Known Member

    Joined:
    Dec 6, 2011
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Bolton, UK
    cPanel Access Level:
    Root Administrator
    I doubt that there will be same 2 file names which are hidden. Can you provide with the output OR a snap shot ?
     
  3. lottocheatah

    lottocheatah Active Member

    Joined:
    May 17, 2011
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    2.htaccess.gif
    Here is the image.
     
  4. hoststop

    hoststop Well-Known Member

    Joined:
    Dec 6, 2011
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Bolton, UK
    cPanel Access Level:
    Root Administrator
    Thanks.. Yeah, strange though. Do you have SSH access to the server OR control panel access using cPanel ? See what it shows there.
     
  5. lottocheatah

    lottocheatah Active Member

    Joined:
    May 17, 2011
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    If I just list the files or ask specifically for .htaccess I only see one instance but if I ask to see all files starting with a dot (.*) I get two instances. Try accessing by ftp and ask using the .* parameter. Maybe you get 2 instances to?
     
Loading...

Share This Page