+Prevent redirection of some top (referring) foreign webpage as it
[www.energie.vellum.cz.git] / .htaccess
index fc1a446..c8cdd7a 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -1,9 +1,12 @@
+SourceCharset iso-8859-2
 DirectoryIndex index.php
 php_flag short_open_tag off
+php_flag magic_quotes_gpc off
+php_flag magic_quotes_runtime off
 AddType text/javascript .js
-<Files "objednavka.txt">
+<FilesMatch "^(objednavky|inzeraty)\.php$">
        AuthType Basic
-       AuthName energie.objednavka
-       AuthUserFile /home/short/priv/energie.objednavka.passwd
+       AuthName energie.objednavky
+       AuthUserFile /home/short/priv/energie.objednavky.passwd
        require valid-user
-</Files>
+</FilesMatch>