views:

14

answers:

0

Hi, I'm trying to get my website back online after recovering from an XSS attack. At the time of the attack, I set all the file permissions to 400 to take the site offline. I left it that way for a few days, and then ended up deleting all the files in the var/www/ directory and uploading a full backup of the site. The backup had screwy file permissions too, so i changed all file permissions to 755, except .htaccess files which i set to 644.

Now, when anyone tries to load any page on the website, all they get is "Cannot read /var/www/sitepathhere/.htaccess". I tried changing the permissions on .htaccess to 777, no change.

What can I do to get the site back online?