Welcome to Web Hosting Forum - Net Hosting Talk

Register now and be part of our community! When you register with the Net Hosting Talk you can join in with topics, start new topics, and generally be a part of the first level of our community. It's also quick and totally free, so what are you waiting for?

Server deleting .htaccess file

MilenaDok

Newbie
Messages
3
Reaction score
0
Hello,

I have a website in a subdirectory. Before, I had a .htaccess file in there, but now, the server keeps the .htaccess file but deletes the contents.

any suggestions?

Thanks
 

cortez

Newbie
Messages
21
Reaction score
1
This sounds strange. You may wish to contact your hosting provider about this. In the meantime, try deleting the file, FTP it up again, then change permissions to 0444. The server won't have modified permissions then.
 
Messages
8
Reaction score
0
You can contact your hosting provider to set the attribute on .htaccess file which wont modify your htaccess file

chattr +a .htaccess
 

Advertisement

Top