Re: AW: AW: [cgiwrap-users] RE: #!/usr/bin/php
Brought to you by:
nneul
From: Piotr K. <ma...@ma...> - 2002-08-14 08:40:22
|
Hi, I'd like to get into the discussion. If your URL looks like: On Sat, Aug 10, 2002 at 12:18:01AM +0200, Daniel Nolte wrote: > http://phpmagic.de/cgi-bin/cgiwrap/cgiwrapd/k060881/phpmagic.de/test.php then why the PATH_INFO is /k060881/htdocs/phpmagic.de/test.php Why there is 'htdocs' in it? Maybe the your URL originally was: http://phpmagic.de/cgi-bin/cgiwrap/cgiwrapd/k060881/htdocs/phpmagic.de/test.php ? > Environment Variables: > QUERY_STRING: '' > SCRIPT_NAME: '/cgi-bin/cgiwrap/cgiwrapd' > SCRIPT_FILENAME: '/usr/lib/cgi-bin/cgiwrap/cgiwrapd' > PATH_INFO: '/k060881/htdocs/phpmagic.de/test.php' > PATH_TRANSLATED: > '/var/chroot/_nossh/k060881/htdocs/phpmagic.de/k060881/htdocs/phpmagic.d > e/test.php' > REMOTE_USER: '<NULL>' > REMOTE_HOST: '<NULL>' > REMOTE_ADDR: '80.142.156.229' > Script Base Directory: '/var/chroot/_nossh/k060881/.' It seems that your cgi-dir here is now '.' We should make it running as before (htdocs in your case, WWW in my case, and public_html in common cases). But '.' should work now, too. > Script Absolute Path: > '/var/chroot/_nossh/k060881/./htdocs/phpmagic.de/test.php' > Checking for special interpreted script (php). > SCRIPT_FILENAME: > '/var/chroot/_nossh/k060881/./htdocs/phpmagic.de/test.php' You write that there is no php output. But you did not provide in the mail the lines: Output of script follows: ===================================================== Is there anything after that in yout html output, and do you get any output, if you run: /usr/bin/php4 /var/chroot/_nossh/k060881/./htdocs/phpmagic.de/test.php from the command line? -- Piotr Klaban |