Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Fcgid kills authn authz permission for php ? |
|
Author |
|
dreuzel
Joined: 30 Jan 2006 Posts: 16
|
Posted: Tue 09 Apr '13 19:19 Post subject: Fcgid kills authn authz permission for php ? |
|
|
as i switch beween mod_php5 to fcgid
I completely lose authentication
Code: |
Forbidden
You don't have permission to access /secure/php.php on this server.
|
For speed reasons I prefer fcsid to mod_PHP like all others.
but in this condition I lose all APache authorisation using PHP.
(not even a faulty php in debug mode can pass (not a single instruction PHP executed)
my config is as follows:
authorisation authn/authz identical
php code identical (aware I might need to change a few things)
no apache errors at all
Code: |
LoadModule fcgid_module modules/mod_fcgid.so
FcgidInitialEnv PHPRC "c:\php"
FcgidWrapper "c:\php\php-cgi.exe" .php
# FcgidAuthorizer "C:\internet\loggerin.php"
FcgidAuthorizerAuthoritative on/off no difference
FcgidPassHeader Authorization
<Files ~ "\.php$>"
AddHandler fcgid-script .php
</Files>
|
as little is explained about fcgid i feel like driving blind. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Wed 10 Apr '13 10:25 Post subject: |
|
|
Options ExecCGI is missing
Code: | LoadModule fcgid_module modules/mod_fcgid.so
FcgidInitialEnv PHPRC "c:\php"
FcgidWrapper "c:\php\php-cgi.exe" .php
# FcgidAuthorizer "C:\internet\loggerin.php"
FcgidAuthorizerAuthoritative on/off no difference
FcgidPassHeader Authorization
<Files ~ "\.php$>"
AddHandler fcgid-script .php
Options ExecCGI
</Files> |
|
|
Back to top |
|
dreuzel
Joined: 30 Jan 2006 Posts: 16
|
Posted: Wed 10 Apr '13 12:30 Post subject: |
|
|
used ExecCgi in wrong location
error message disapeard not yet functioning
c
At least the blocking factor is gon, ready to advance
Yout the best, it works !!!! |
|
Back to top |
|
|
|
|
|
|