This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# edit apache config | |
# add /web at the end the documentroot parameter | |
# like documentroot: /home/[domain user]/public_html/web | |
# | |
nano /var/cpanel/userdata/[domain user]/[your domain.com] | |
nano /var/cpanel/userdata/[domain user]/[your domain.com]_SSL | |
# delete cache file | |
rm -vf /var/cpanel/userdata/[domain user]/[your domain.com].cache |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -name '*.php' -print0 | xargs -0 sed -i 's/<?php \$fkmjyagft.*?\?>//' |