git://git.jankratochvil.net
/
www.energie.vellum.cz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Now also "inzeraty.php" is password protected
[www.energie.vellum.cz.git]
/
.htaccess
diff --git
a/.htaccess
b/.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
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
AddType text/javascript .js
-<Files
"objednavka.txt
">
+<Files
Match "^(objednavky|inzeraty)\.php$
">
AuthType Basic
AuthType Basic
- AuthName energie.objednavk
a
- AuthUserFile /home/short/priv/energie.objednavk
a
.passwd
+ AuthName energie.objednavk
y
+ AuthUserFile /home/short/priv/energie.objednavk
y
.passwd
require valid-user
require valid-user
-</Files>
+</Files
Match
>