Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
RewriteCond %{HTTP:Authorization}
Could someone explain what the following in the .htaccess does:
RewriteCond %{HTTP:Authorization} !^$
RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization}]
?
Offline
Re: RewriteCond %{HTTP:Authorization}
i didn’t see the htaccess file in the directory. am i supposed to create it? i may have missed this in the instructions.
Offline
Re: RewriteCond %{HTTP:Authorization}
Henrik, it helps to HTTP authentication work on servers that don’t run PHP as a module (doesn’t work in all situations though).
Olga, it’s a hidden file. If your TXP versions works correctly with clean URLs, then you have this file installed correctly.
Offline