• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

enable Apache http Authorization header

phpapachehttp-headersauthorization


PHP Snippet 1:

SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

PHP Snippet 2:

SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

PHP Snippet 3:

RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

PHP Snippet 4:

<VirtualHost>
    # ...
    Include "/etc/apache2/conf.d/userdata/*.conf"
    # ...
</VirtualHost>

PHP Snippet 5:

nano /etc/apache2/conf.d/userdata/{username}.conf

PHP Snippet 6:

SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

PHP Snippet 7:

service httpd restart

Related Snippets

PHP: Print caught exception like Xdebug

PHP -> Next nearest date defined by array of days in week

Is it possible to change the table name in the migration file-laravel

Laravel with App Engine Standard Class 'FacadeIgnitionIgnitionServiceProvider' not found

PHP: How to solve ob_start() in combination imagepng() issue?

Shortcode or PHP inside a shortcode in Wordpress

Attempt to read property "view" on null when sending password reset email

Smarty: undefined extension class 'Smarty_Internal_Method_Get_Template_Vars'

google content api for shopping

PHP AWS Cognito 'Error executing "SignUp" : ResourceNotFoundException : User pool client XXXX does not exist

MongoDB Duplicate Documents even after adding unique key

Target class controller does not exist - Laravel 8

Transpose csv file data [duplicate]

PHP-Sort array based on another array?

woocommerce get_order_report_data to show order_item_id

About Contact Privacy policy Terms and conditions