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.

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:
    37,064
    Likes Received:
    1,288
    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.
     
Loading...

Share This Page