AW: AW: AW: [cgiwrap-users] RE: #!/usr/bin/php
Brought to you by:
nneul
From: Daniel N. <dr...@gm...> - 2002-08-09 22:18:20
|
On Fri, 2002-08-09 at 16:55, Daniel Nolte wrote: > Hi, > > >If you can run it using: > >http://host/cgi-bin/cgiwrap/user/script > >then cgiwrap is working fine. > > http://phpmagic.de/cgi-bin/cgiwrap/cgiwrapd/k060881/phpmagic.de/test.php > Have you tried that without the action/etc. rules that are not > functioning properly? If so, it should work. Yeap, tried it. I just get no php output only: Initializing Logging Redirecting STDERR to STDOUT Setting SIGXCPU to default behaviour 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' Trying to extract user from PATH_INFO. Retrieved User Name: 'k060881' User Data Retrieved: UserID: 'k060881' UID: '1004' GID: '2000' Home Dir: '/var/chroot/_nossh/k060881' Script Base Directory: '/var/chroot/_nossh/k060881/.' Fetching script string Trying to extract script from PATH_INFO Extracted PATH_INFO 'htdocs/phpmagic.de/test.php' Building script path Condensing slashes. Script Relative Path: 'htdocs/phpmagic.de/test.php' Script Absolute Path: '/var/chroot/_nossh/k060881/./htdocs/phpmagic.de/test.php' Checking for special interpreted script (php). Interpreter Path: '/usr/bin/php4' Fixing Environment Variables. Environment Variables: QUERY_STRING: '' SCRIPT_NAME: '/cgi-bin/cgiwrap/cgiwrapd/k060881/htdocs/phpmagic.de/test.php' SCRIPT_FILENAME: '/var/chroot/_nossh/k060881/./htdocs/phpmagic.de/test.php' PATH_INFO: '' PATH_TRANSLATED: '/var/chroot/_nossh/k060881/htdocs/phpmagic.de' REMOTE_USER: '<NULL>' REMOTE_HOST: '<NULL>' REMOTE_ADDR: '80.142.156.229' Wait.. Why do you have cgiwrap/cgiwrapd in that link? That makes no sense. cgiwrap is a subdir in cgi-bin/ luna:/usr/lib/cgi-bin# ls -al total 16 drwxr-xr-x 3 root root 4096 Aug 9 16:52 . drwxr-xr-x 32 root root 8192 Aug 9 02:51 .. drwxr-xr-x 2 root root 4096 Aug 10 00:14 cgiwrap luna:/usr/lib/cgi-bin/cgiwrap# ls -al total 536 drwxr-xr-x 2 root root 4096 Aug 10 00:14 . drwxr-xr-x 3 root root 4096 Aug 9 16:52 .. -rwsr-xr-x 6 root root 83676 Aug 10 00:14 cgiwrap -rwsr-xr-x 6 root root 83676 Aug 10 00:14 cgiwrapd -rwsr-xr-x 6 root root 83676 Aug 10 00:14 nph-cgiwrap -rwsr-xr-x 6 root root 83676 Aug 10 00:14 nph-cgiwrapd -rwsr-xr-x 6 root root 83676 Aug 10 00:14 php-cgiwrap -rwsr-xr-x 6 root root 83676 Aug 10 00:14 php-cgiwrapd |