title: Get .htaccess from root directory to apply on all directories?
body: <p>i have a .htaccess file in my root directory (public_html/) that looks like this: (XXX.XX.XX.XX stands for an IP)</p>
  
  <pre><code>RewriteCond %{HTTP_HOST} ^XXX.XX.XX.XX$ [NC]
  RewriteRule ^(.*)$ http://www.justadomain.tld [R=301,L]
  </code></pre>
  
  <p>There are also .htaccess files in subfolders und folders of subfolders, but I want this rewrite rule to work in all directories all over the account whether there exists a .htaccess or not, without copying this rule in every single file. The rules in the existing .htaccess files should continue working.</p>
  
  <p>Thanks in advance for your answers!</p>