[cgiwrap-users] cgiwrap and php
Brought to you by:
nneul
From: Jack O. <ja...@he...> - 2001-08-28 23:47:33
|
Hello everybody, I seem to have a problem with cgiwrap (v.3.7) and php (v.4.0.6, safe mode) running under apache (v.1.3.12). It is illustrated here by a copy of what I get with cgiwrapd: --------------------------------------------------------------------- ... Environment Variables: QUERY_STRING: '' SCRIPT_NAME: '/E/cgiwrapd/dran/E/runphp.cgi' SCRIPT_FILENAME: '/home/dran//E/runphp.cgi' PATH_INFO: '' PATH_TRANSLATED: '/home/dran/' REMOTE_USER: 'dran' REMOTE_HOST: '<NULL>' REMOTE_ADDR: '203.35.8.197' Logging Request (File) UIDs/GIDs Changed To: RUID: '502' EUID: '502' RGID: '503' EGID: '503' Changing current directory to '/home/dran//E' Output of script follows: ===================================================== X-Powered-By: PHP/4.0.6 Content-type: text/html Testing phprun.cgi for <b>dran</b><hr> <br> <b>Warning</b>: SAFE MODE Restriction in effect. The script whose uid is 99 is not allowed to access /www/dran/index.php owned by uid 502 in <b>/home/dran//E/runphp.cgi</b> on line <b>5</b><br> ... --------------------------------------------------------------------- The question is why php sees the uid of /home/dran//E/runphp.cgi as still 99 despite its change into 502 by cgiwrap. Hope someone might be able to explain, -- Jack |