Thanks to visit codestin.com
Credit goes to github.com

Skip to content

added a note about php-cgi and Apache #2529

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 30, 2013

Conversation

fabpot
Copy link
Member

@fabpot fabpot commented Apr 21, 2013

Q A
Doc fix? yes
New docs? no
Applies to all (or 2.1+)
Fixed tickets symfony/symfony#7170, symfony/symfony#7649

People get stuck with Apache under php-cgi. We have a workaround in Symfony (symfony/symfony#3551) but it was not documented.

If you are using **php-cgi**, Apache does not pass HTTP basic username and
password to PHP by default. To work around this limitation, you should use the
following configuration snippet:

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you forgot .. code-block:: apache

weaverryan added a commit that referenced this pull request Apr 30, 2013
added a note about php-cgi and Apache
@weaverryan weaverryan merged commit a4a78d7 into symfony:2.1 Apr 30, 2013
weaverryan added a commit that referenced this pull request Apr 30, 2013
@arthurdarcet
Copy link

This rewrite rule is required for the default PHP worker with Apache, not only for the php-cgi worker

@xabbuh
Copy link
Member

xabbuh commented Jun 22, 2013

Which default PHP worker?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants