Now also "inzeraty.php" is password protected
authorshort <>
Wed, 20 Mar 2002 20:56:30 +0000 (20:56 +0000)
committershort <>
Wed, 20 Mar 2002 20:56:30 +0000 (20:56 +0000)
 - Implemented "radkova inzerce"

.htaccess

index 5bf9249..c8cdd7a 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -4,9 +4,9 @@ php_flag short_open_tag off
 php_flag magic_quotes_gpc off
 php_flag magic_quotes_runtime off
 AddType text/javascript .js
-<Files "objednavky.php">
+<FilesMatch "^(objednavky|inzeraty)\.php$">
        AuthType Basic
        AuthName energie.objednavky
        AuthUserFile /home/short/priv/energie.objednavky.passwd
        require valid-user
-</Files>
+</FilesMatch>