You need to find and replace all the occurrences of the
/home/bitnami/apps/magento/htdocs path and replace them with
/home/bitnami/apps/abc/htdocs`, change the name of the folder and restart Apache.
/opt/bitnami/ctlscript.sh restart apache
Make sure to backup the files before changing them.
Please, click on if you think my answer was helpful