Skip to main content

Why must AutoSSL modify htaccess?

Comments

7 comments

  • cPanelMichael
    Hello @gwc_wd, The following option is available under the "Domains" tab in "WHM >> Tweak Settings": Use a Global DCV Passthrough instead of .htaccess modification (requires EA4) Per it's description: When you enable this option, Apache adds global rewrite rules to the webserver configuration so that the system does not process additional rewrite rules for DCV filenames. These global rules make it unnecessary for cPanel & WHM to modify each virtual host"s .htaccess file. Note: When you enable this option, the system receives a trivial performance penalty because all of the HTTP requests must be matched against the DCV filename regular expressions. I believe this option addresses your concerns, as using it ensures individual .htaccess files are no longer written to. Let me know if this information helps. Thank you.
    0
  • liebn0r
    Is there more information on this somewhere? I have AutoSSL enabled but I don't see any .htaccess files getting modified, and I hope to keep it that way. When does that happen?
    0
  • cPanelMichael
    Hi @liebn0r, The Use a Global DCV Passthrough instead of .htaccess modification (requires EA4) option referenced in my last response is enabled by default, so you should not see direct modifications to individual .htaccess files unless you've disabled that option. Thank you.
    0
  • liebn0r
    That setting is disabled for me because I'm using EA3.
    0
  • cPanelMichael
    That setting is disabled for me because I'm using EA3.

    There are no alternatives for systems using EasyApache 3. Is there anything in-particular that's keeping you from migrating to EasyApache 4? EasyApache 3 is near the end of it's lifespan: EasyApache 3: It's been a long road, but it will be time to say goodbye soon. Thank you.
    0
  • liebn0r
    Is there anything in-particular that's keeping you from migrating to EasyApache 4? No, just general fear of change and breaking things. But that's beside the point. My question is, since the setting is disabled, why am I not seeing modifications to my htaccess files like the original poster was? I wouldn't want that to start happening, either.
    0
  • cPanelMichael
    My question is, since the setting is disabled, why am I not seeing modifications to my htaccess files like the original poster was? I wouldn't want that to start happening, either.

    The rules are only implemented temporarily during the AutoSSL validation process, and then removed. Thank you.
    0

Please sign in to leave a comment.