Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    51
    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:
    1
    Trophy Points:
    56
    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 ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. lottocheatah

    lottocheatah Active Member

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

    hoststop Well-Known Member

    Joined:
    Dec 6, 2011
    Messages:
    84
    Likes Received:
    1
    Trophy Points:
    56
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. lottocheatah

    lottocheatah Active Member

    Joined:
    May 17, 2011
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    51
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice