I have a tiny "webpage" in an Apache server running on my computer. I've got for it this .htaccess file:
I have written it by googling/SOing, and tho I'm not really sure it's ok. Suppsedly the first paragraph is to avoid Google Chrome from caching my files and the second part (the Order sentences) are to allow anyone to view only those kinds of files (which is otherwise let them see everything but folder roots - I guess there's some way to do this shorter/better, so if somebody knows, it's appreciated). The thing is, I don't know why, I had never heard of something similar, "I can only load one instance of each file". In explanation, the only html file there's, runs from time to time a PHP script. Let's say I run it on localhost for example. Then everything is going fine. But I open a new tab, and load the same page (while the another one is yet open), and I'll get a 412 HTTP error. Similar thing happens if I try to load the webpage from another device. And, with my little experience with Apache HTTPD, I guess it's because of this .htaccess file (or maybe httpd.conf). Anyone knows why does this happen or how can I solve it (either it be or not related to the .htaccess file)?