简体   繁体   中英

Apache allow all sites to use .htaccess file

On our Apache server no users can upload the .htaccess file. They get a critical error when upload just this file via FTP. We can upload all other file types just fine. Is there a way I can allow this permission across all my sites?

This was fixed in the end by adding the following lines to the vhost config for the site:

Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all Require all granted

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM