AW: [cgiwrap-users] RE: #!/usr/bin/php
Brought to you by:
nneul
From: Daniel N. <dr...@gm...> - 2002-08-09 21:52:17
|
-----Urspr=FCngliche Nachricht----- Von: Frank Louwers [mailto:fr...@st...]=20 Gesendet: Freitag, 9. August 2002 23:29 An: Daniel Nolte Betreff: Re: [cgiwrap-users] RE: #!/usr/bin/php On Fri, Aug 09, 2002 at 08:29:37PM +0200, Daniel Nolte wrote: > Hi, >=20 > The script physical lies in > '/var/chroot/_nossh/k060881/htdocs/phpmagic.de/test.php' How do you invoke cgiwrap, what is the homedir of the user, and what did you configure as WWW dir while ./configure-ing cgiwrap? The homedir of the user is /var/chroot/_nossh/k060881/ httpd.conf: <VirtualHost phpmagic.de> ServerName phpmagic.de ServerAlias phpmagic.de DocumentRoot /var/chroot/_nossh/k060881/htdocs/phpmagic.de ServerAdmin web...@ph...> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ AddHandler cgi-wrapperd .php AddHandler cgi-wrapperd .phtml AddHandler cgi-wrapperd .cgi Action cgi-wrapper /cgi-bin/cgiwrap/cgiwrap/k060881 Action cgi-wrapperd /cgi-bin/cgiwrap/cgiwrapd/k060881=09 # #While using the lines below I get NO output from the script. # #Action cgi-wrapper /cgi-bin/cgiwrap/cgiwrap/k060881/phpmagic.de #Action cgi-wrapperd /cgi-bin/cgiwrap/cgiwrapd/k060881/webvector.d # </VirtualHost> cgiwrap was configured with: ./configure \ --with-perl=3D/usr/bin/perl \ --with-php=3D/usr/bin/php4 \ --with-php-path=3D/usr/bin/php4 \ --with-local-contact-name=3DWebVector \ --with-local-contact-email=3Ds...@ph... \ --with-local-contact-url=3Dhttp://support.phpmagic.de \ --with-local-site-url=3Dhttp://www.phpmagic.de \ --with-install-group=3Droot \ --with-install-dir=3D/usr/lib/cgi-bin/cgiwrap \ --with-cgi-dir=3Dhtdocs \ --with-httpd-user=3Dwww-data \ --with-php-interpreter \ --with-php-cgiwrap \ --with-minimum-uid=3D1000 \ --with-logging-file=3D/var/log/apache/cgiwrap.log |