← ServerPilot Docs

How to Use .htaccess Files

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

apps/APPNAME/public/.htaccess

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

.htaccess Examples

Launch your first site in 5 minutes