I have some settings which I want to use in .htaccess file. The settings are for some functionality at /admin/tool
folder level .. but I want to include some settings for /admin
and /
locations as well.
My question is what is the best location to put this file at??
Thanks
Update
Just fyi .. I want to apply settings like
max file upload size maz execution time etc
htaccess file can be found at /opt/bitnami/APPNAME/. htaccess. Some applications do not have the /opt/bitnami/apache2/conf/vhosts/htaccess/APPNAME-htaccess.
Place general rules in:
/.htaccess
Place /admin/ specific rules in:
/admin/.htaccess
Place /admin/tool/ specific rules in:
/admin/tool/.htaccess
You can put your .htaccess in the top level directory and have it apply settings to specific subfolders.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With