Well I sorted out the permissions on that directory structure, and the web
based cgi performed as the command line one did, I havent had too long to
find out if any weird things are going to start happening with the mail
apps, but I'm hopeful that this was the solution...
Thanks for all the help
Okies, FINALLY I think I have the reason (though not the solution as yet)
Marco, you were spot on, which I hadn't pursued properly, only looking at
the immediate parent directory permissions. In fact the whole ~vpopmail
structure down to the individual users directory has a VERY restrictive set
Just a quick addition, both the submit/link were very basic, they both
worked like this
$location = /cgi-bin/getmailtest.cgi;
// $location = getmail.php;
echo $locationbr;
print(a href=$locationClick here to test the cgi/abr\n);
print(form name=form1 method=post action=$location);
print(press
Hi again all
Just a bit more info, trying to track some more things down.
I made a few changes, changed getmail so that it would allow the getmailrc
file to be group writable, made a few changes to the user/group structure
(including making apache a member of a specific new group, and then
I think you might be unable to access documents outside the root if
you're in safe mode.
Just out of curiosity--have you tried su-ing to the Apache user and
executing your script as that user?
On Sun, 2002-10-13 at 21:36, David Cook wrote:
Hi again all
Just a bit more info, trying to track
hmmm safe mode is disabled - for the apache module version
from phpinfo()
safe_mode Off Off
Just out of curiosity--have you tried su-ing to the Apache user and
executing your script as that user?
yep, same result (although I had to change the apache user for a few minutes
so it had a shell..
Ok, that's a big step forward then. It's possible that your user does
not have access to the directory tree where the file resides? Have you
tried listing that directory and or opening the file (for example with
cat) while using that file? If you can narrow it down to a permission
problem (and,
7 matches
Mail list logo