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.

one questions about how to

Discussion in 'Security' started by sonam, Sep 11, 2008.

  1. sonam

    sonam Registered

    Joined:
    Sep 11, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Before few month I was doing something with protection files in subfolders but now I am forgot how I am doing that. I am not using indexing protection or custom error pages. For images I am enabled hotlink protection on both sites. Here is link for images folder protected before few month:
    http://www.sipar.hr/images/
    and link on my new site where I can't find in cPanel how to get same result:
    http://www.ljubek.hr/images/

    You can see sipar just display only parent directory and ljubek all the files.

    Thanks for any sugestion.
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    From what I can tell, it seems like you used Index Manager to hide the contents of the directory from the directory listing generated by Apache. This feature is found in the cPanel interface in the "Advanced" section.
     
  3. sonam

    sonam Registered

    Joined:
    Sep 11, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    It is looking like Index Manager but it is not. :mad: I was try lot of features but I cannot get it and I haven't more idea. Is there some solution for hide flile types from displaying. When I open htacces in both domains there are same.
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I know dot files (starts with .) do not typically show up in directory listings.

    If it's not the result of using dot files, maybe it's just simply file (or directory) permissions?
     
  5. sonam

    sonam Registered

    Joined:
    Sep 11, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Thanks David for your help. This is not dot file and permision is same on both domain. I find out how Hotlink protection is responsible for this situation. If I didn't insert redirection when image is direct access then Hotlink display only parent directory. If I insert redirection then display all content in directory. I don't understand why this situation is comming (maybe is some bug) but now I know how to solve this problem.
     
Loading...

Share This Page