i need some scripts to run as root, very important. So, i set up an apache virtualhosting that only responds to calls to 192.168.0.1 - my LAN IP, only accessable from my LAN. I set up the vhosting to run as root. The php script successfully prints "root" when i ask it this:
print get_current_user();
but, it's acting as apache.
any idea why the descrepancy?
thanks in advance