Re: [Mod-fcgid-users] DESPERATE need for help with suexec. (php-cgi wrapper 'saying no input file')

2008-06-16 Thread Starhost - Noël Elsten
I'm running mod_fcgid on freebsd and it is working fine. Here you find 
my apache config files and the way suexec is build.

IfModule fcgid_module
 # Set config options for FCGID
 PHP_Fix_Pathinfo_Enable 1
 PASSHEADER AUTHORIZATION
 MaxRequestsPerProcess 500
 FastCgiAuthenticatorAuthoritative off
/IfModule

IfModule !fcgid_module
 FilesMatch \.(php|php5|pl|cgi)$
 Order allow,deny
 Deny from all
 Satisfy All
 /FilesMatch

/IfModule

VirtualHost *:80
 ServerAdmin [EMAIL PROTECTED]
 DocumentRoot /home/example/web
 ServerName web.example.com
 SuexecUserGroup cinergi foobaz
 Directory /
 IfModule fcgid_module
 AddHandler fcgid-script .php
 AddHandler cgi-script .cgi .pl
 AddType text/html php
 FCGIWrapper /home/example/fcgi-bin/php5 .php
 /IfModule
 AllowOverride All
 Options +Indexes +FollowSymLinks +ExecCGI
 Order allow,deny
 Allow from all
 /Directory
/VirtualHost


# suexec -V
  -D AP_DOC_ROOT=/home
  -D AP_GID_MIN=1000
  -D AP_HTTPD_USER=www
  -D AP_LOG_EXEC=/var/log/httpd-suexec.log
  -D AP_SAFE_PATH=/usr/local/bin:/usr/local/bin:/usr/bin:/bin
  -D AP_UID_MIN=1000
  -D AP_USERDIR_SUFFIX=public_html

# cat /home/starhost/fcgi-bin/php5
#!/bin/sh
PHPRC=/home/example
export PHPRC
PHP_FCGI_CHILDREN=0
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_MAX_REQUESTS
exec /usr/local/bin/php-cgi


Noël Elsten

on 16-6-2008 22:45 Anton - Valqk wrote:
 Alli Quaknaa wrote:
 Well,
 if you're really desperate, I have a solution with mod_php and
 mod_ruid, but I don't know if it realyl does what you want. It does no
 chroot, but it does change uid/gid. What specifically are you looking
 for?
   
 is there freebsd port?
 Sorry, but doN expect any help regarding suexec modification from me,
 I have no experience in this area.
 al-Quaknaa
   
 I need to use my suexec because it's pretty custom and nothing will work
 if not used.
 sorry, is there anyone else that can help?
 I simply need to understand the mechanism of passing .php file and
 directory to the wrapper...
 thanks.
 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 Mod-fcgid-users mailing list
 Mod-fcgid-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users

   
 
 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users


[Mod-fcgid-users] Howto: passheaders option?

2008-04-20 Thread Starhost - Noël Elsten
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