📜  apache2 .htaccess 不可写 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:03.740000             🧑  作者: Mango

代码示例1
#if only ownership issue
sudo chown www-data: .htaccess

#else correct permissions to the directory
sudo chmod -R 755 /var/www/html/yourdomainname
sudo chown -R www-data:www-data /var/www/html/yourdomainname