Radek100 Posted April 26, 2011 Share Posted April 26, 2011 Hi, I have serious problem, every day is htaccess overwritten like I press generate htaccess, but I didn't.Is this setting of presta or it depends on hosting?thanks Link to comment Share on other sites More sharing options...
jhnstcks Posted April 26, 2011 Share Posted April 26, 2011 Try changing the file permissions to 444, this will stop anything from changing in the file. Link to comment Share on other sites More sharing options...
Radek100 Posted April 26, 2011 Author Share Posted April 26, 2011 Thank you, I changed it, so I'll see tomorrow, cause changes happend always during the night. Do you know why I must add this code into htaccess? Header set Cache-Control max-age=0 If I don't add this code, then all pages are cached in visitor browser. So for example if visitor visit at first index.php and then he login and back to index.php he can't see his name or panel my account (order history, vouchers, adresses, etc.), because it is cached as previous - first appereance. When he press F5 refresh the page, then is possible verify that he is really loged in. Link to comment Share on other sites More sharing options...
Recommended Posts