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!

AutoSSL and TXT Files

Discussion in 'Security' started by masterross, Mar 15, 2017.

Tags:
  1. masterross

    masterross Member

    Joined:
    Apr 7, 2004
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    151
    Hi,

    I'm on v62 but seems inserting mod_redirect exclusions doesnt work :(

    EDIT:

    Just found in .htaccess :

    # Prevent Direct Access to files
    <FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))">
    Order deny,allow
    Deny from all
    </FilesMatch>

    Which blocked access to TXT files
     
    #1 masterross, Mar 15, 2017
    Last edited: Mar 15, 2017
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,699
    Likes Received:
    1,790
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @masterross,

    This entry will block all access attempts to .txt files, which are required as part of the validation process for the AutoSSL feature. This topic is discussed on the following thread:

    Directory index forbidden by Options directive

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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