Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6848972

Browse filesBrowse files
committed
added a note about php-cgi and Apache
1 parent ddf358e commit 6848972
Copy full SHA for 6848972

File tree

Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed

‎cookbook/configuration/web_server_configuration.rst

Copy file name to clipboardExpand all lines: cookbook/configuration/web_server_configuration.rst
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ are:
4141
``AllowOverride None`` and implement the rewrite rules in the ``web/.htaccess``
4242
into the virtualhost config.
4343

44+
If you are using **php-cgi**, Apache does not pass HTTP basic username and
45+
password to PHP by default. To work around this limitation, you should use the
46+
following configuration snippet:
47+
48+
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
49+
4450
Nginx
4551
-----
4652

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.