Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-04-23 19:45:33

gemal
Member
From: Copenhagen, Denmark
Registered: 2007-01-09
Posts: 107
Website

RewriteCond %{HTTP:Authorization}

Could someone explain what the following in the .htaccess does:

RewriteCond %{HTTP:Authorization} !^$
RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization}]

?

Offline

#2 2008-04-23 20:56:01

olgahow
Member
Registered: 2008-04-23
Posts: 18
Website

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

#3 2008-04-23 21:05:35

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

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

Board footer

Powered by FluxBB