Recent content by nabiscooreo

  1. N

    can't set $_SERVER var by using mod_rewrite in .htaccess

    Hi~I want to use http authorization,so i put the following in .htaccess: <IfModule mod_rewrite.c> RewriteEngine on RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] </IfModule> and the index.php is as follow: <?php if (!isset($_SERVER['HTTP_AUTHORIZATION'])) {...
Top