Afther some more struggling around, I managed to get it working. For all people that also can't get it to work. I'll post a working solution below.
<IfModule fcgid_module> # Set config options for FCGID PHP_Fix_Pathinfo_Enable 1 PASSHEADER AUTHORIZATION MaxRequestsPerProcess 500 FastCgiAuthenticatorAuthoritative off </IfModule> <IfModule !fcgid_module> # Deny all access to PHP / PERL Scripts if the module isn't loaded. <FilesMatch "\.(php|php5|pl|cgi)$"> Order allow,deny Deny from all Satisfy All </FilesMatch> </IfModule> <VirtualHost *:80> ServerAdmin [EMAIL PROTECTED] DocumentRoot "/home/user/public_html" ServerName web.example.com ServerAlias www.web.example.com ErrorLog "/var/log/web.example.com-error_log" CustomLog "/var/log/web.sexample.com-access_log" common SuexecUserGroup user user <Directory /> <IfModule fcgid_module> AddHandler fcgid-script .php AddHandler cgi-script .cgi .pl FCGIWrapper "/home/user/fcgi-bin/php5" .php </IfModule> Options ExecCGI Options +Indexes Order allow,deny Allow from all </Directory> </VirtualHost> #!/bin/sh PHPRC="/home/user" export PHPRC PHP_FCGI_CHILDREN=2 export PHP_FCGI_CHILDREN PHP_FCGI_MAX_REQUESTS=5000 export PHP_FCGI_MAX_REQUESTS exec /usr/local/bin/php-cgi Further more Apache should be compiled with the following ENV setting to make it pass the Authorize Headers to PHP scripts. setenv CFLAGS "-Wall -DSECURITY_HOLE_PASS_AUTHORIZATION" Noël Elsten on 20-4-2008 20:42 Starhost - Noël Elsten wrote: > How should one use the option to pass headers to the cgi scripts? I > can't seem to find any information on how to do this in the documentation. > > I've tried the following, but that doesn't seem to be working: > > FCGIWrapper "/path/to/fcgi-bin/php5 PassHeader Authorization" .php > > Thanks, > > Noel Elsten > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Mod-fcgid-users mailing list > Mod-fcgid-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Mod-fcgid-users mailing list Mod-fcgid-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users