David wrote:
this is just a trick for php not running as an apache module,
for other cgi scripts the patch is very useful. Also it's
possible to patch the php apache module to fill the
enviroment like in cgi's so other more useful enviroment
variables like SCRIPT_NAME (which will be very
Eli wrote:
Works out of the box with any CGI that runs under a CGI compliant
webserver (such as Apache). For PHP, you have to redefine your sendmail
binary path with something like this:
php_admin_value sendmail_path SERVER_NAME='www.hoktar.com'
/usr/sbin/sendmail -t -i
As I mentioned
Hi !!
php_admin_value sendmail_path SERVER_NAME='www.hoktar.com'
/usr/sbin/sendmail -t -i
As I mentioned last time this issue was raised, if you can change the
sendmail path reliably, then there's no need for a patch; just use -D:
php_admin_value sendmail_path \
/usr/sbin/exim -t -i
perl_startup = sub return_env { return $ENV{$_[0]} }
acl_not_smtp:
accept
logwrite = FOO=${perl{return_env}{FOO}}
add_header = X-CGI-Env: FOO=${perl{return_env}{FOO}}
I'm a bit late on replying to this one, sorry :)
I've got an unofficial patch to Exim that allows
I have a feature request for Exim for consideration, which might be
awkward to integrate.
On an Exim receive (=) line, the ability to log the value of a
specified environment variable.
Rationale: PHP webhosting, which on Unix uses sendmail for submission,
rather than talking SMTP, so the
On Sun, Aug 13, 2006 at 04:31:55PM +0200, Phil Pennock said:
I have a feature request for Exim for consideration, which might be
awkward to integrate.
On an Exim receive (=) line, the ability to log the value of a
specified environment variable.
Rationale: PHP webhosting, which on Unix
On Sun, Aug 13, 2006 at 04:31:55PM +0200, Phil Pennock wrote:
On an Exim receive (=) line, the ability to log the value of a
specified environment variable.
Rationale: PHP webhosting, which on Unix uses sendmail for submission,
rather than talking SMTP, so the web-server's environment