CyberPanel Community

Rewrite Rules are not created in docRoot (from vHost)

fi
fightforlife #1

Hi together,

I just found this problem:

I change the “docRoot” in the vHost Config file to something like “$VH_ROOT/public_html/someFolder”

Afterwards I edit the Rewrite Rules via the Webinterface.
But the .htaccess file gets created in
$VH_ROOT/public_html/.htaccess
not in
$VH_ROOT/public_html/someFolder/.htaccess

Maybe it is possible to change the location of the .htaccess file automatically depending on the vHost Config.

thanks in advance!
Best regards!

1 reply
he
henscu #2

Did you ever find an answer to your question?

I am trying to do the same thing (WordPress in a subfolder). I have updated docRoot, and am looking for more info on how to update the rewrite rules via the CyberPanel interface…

Sign in to reply