Skip to content

Instantly share code, notes, and snippets.

@ksenijakuc
Last active August 29, 2015 14:17
Show Gist options
  • Save ksenijakuc/7af4afb3049b213d1e7a to your computer and use it in GitHub Desktop.
Save ksenijakuc/7af4afb3049b213d1e7a to your computer and use it in GitHub Desktop.
Передача $_SERVER['PHP_AUTH_PW'] и $_SERVER['PHP_AUTH_USER'] в GET
<IfModule mod_rewrite.c>
RewriteCond %{HTTP:Authorization} ^Basic.*
RewriteRule (.*) 1c_exchange.php?authorization=%{HTTP:Authorization} [QSA,L]
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment