Using .htaccess files is a safe way to configure Apache and use mod_rewrite, which is enabled by default.

You can control the behavior of the Apache web server by creating a file named .htaccess in your app's web root directory.

/srv/users/APPNAME/apps/APPNAME/public/.htaccess

Using a .htaccess file is a simple and safe way to customize your app.

Check the list of .htaccess Examples