Hello,
Today when I checked .htaccess file for some reason, I found
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
this line which is not added by me. can you please explain me about this code.
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hello,
Today when I checked .htaccess file for some reason, I found
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
this line which is not added by me. can you please explain me about this code.
This makes HTTP Basic Authentication work on php5-cgi installs (php5_module automatically handles this, but cgi/fcgi module does not)
http://www.besthostratings.com/articles/http-auth-php-cgi.html
Don't think its anything to do with Silverstripe. Its your webserver conf and how php is installed. You should check your phpinfo to find out more.
http://blog.layershift.com/which-php-mode-apache-vs-cgi-vs-fastcgi/
Hope that helps.
Thanks Friizu for quick reply : )
Articles help me lot.