Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

apache2 .htaccess not writable

#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
 
PREVIOUS NEXT
Tagged: #writable
ADD COMMENT
Topic
Name
7+6 =