RE: [cgiwrap-users] RE: #!/usr/bin/php
Brought to you by:
nneul
From: Neulinger, N. <nn...@um...> - 2002-08-09 19:03:35
|
I'm assuming /var/chroot/_nossh/k060881 is ~k060881 (home dir)... Since you configured "htdocs" as the cgi dir, when you reference /cgi-bin/cgiwrap/k060881/test.php it should point at the script ~k060881/<cgidir>/test.php which would be ~k060881/htdocs/test.php Hence, the output is correct. -- Nathan ------------------------------------------------------------ Nathan Neulinger EMail: nn...@um... University of Missouri - Rolla Phone: (573) 341-4841 Computing Services Fax: (573) 341-4216 > -----Original Message----- > From: Daniel Nolte [mailto:dr...@gm...]=20 > Sent: Friday, August 09, 2002 1:30 PM > To: Neulinger, Nathan > Cc: cgi...@li... > Subject: AW: [cgiwrap-users] RE: #!/usr/bin/php >=20 >=20 > Hi, >=20 > The script physical lies in > '/var/chroot/_nossh/k060881/htdocs/phpmagic.de/test.php' >=20 > but at end cgiwrap tries to find it in > '/var/chroot/_nossh/k060881/htdocs/test.php' >=20 > This is the current output. > <OUTPUT> > Initializing Logging > Redirecting STDERR to STDOUT >=20 > Setting SIGXCPU to default behaviour >=20 >=20 > Environment Variables: > QUERY_STRING: '' > SCRIPT_NAME: '/cgi-bin/cgiwrap/cgiwrapd' > SCRIPT_FILENAME: '/usr/lib/cgi-bin/cgiwrap/cgiwrapd' > PATH_INFO: '/k060881/test.php' > PATH_TRANSLATED: > '/var/chroot/_nossh/k060881/htdocs/phpmagic.de/k060881/test.php' > REMOTE_USER: '<NULL>' > REMOTE_HOST: '<NULL>' > REMOTE_ADDR: '80.142.156.229' >=20 >=20 > Trying to extract user from PATH_INFO. > Retrieved User Name: 'k060881' >=20 > User Data Retrieved: > UserID: 'k060881' > UID: '1004' > GID: '2000' > Home Dir: '/var/chroot/_nossh/k060881' >=20 > Script Base Directory: '/var/chroot/_nossh/k060881/htdocs' > Fetching script string >=20 > Trying to extract script from PATH_INFO > Extracted PATH_INFO 'test.php' >=20 > ***************** > * CGIWrap Error * > ***************** >=20 > Script File Not Found! >=20 > **************************************** > * Local Information and Documentation: * > **************************************** >=20 > Web Site: http://www.phpmagic.de > Contact Name: WebVector > Contact EMail: su...@ph... > Contact Web Site: http://support.phpmagic.de >=20 > **************** > * Server Data: * > **************** >=20 > Server Administrator/Contact: web...@ph...> > Server Name: phpmagic.de > Server Port: 80 > Server Protocol: HTTP/1.1 >=20 > ***************** > * Request Data: * > ***************** >=20 > User Agent/Browser: Mozilla/4.0 (compatible; MSIE 5.0;=20 > Windows XP) Opera > 6.04 [de] > Request Method: GET > Remote Address: 80.142.156.229 > Remote Port: 2169 > Extra Path Info: /k060881/test.php > </OUTPUT> >=20 >=20 >=20 |