RE: [PHP] RE: PHP Security on Apache
| From: | Jonathan Wilkes | Date: | Wed, 21 May 2003 10:16:38 +0000 |
| Subject: | RE: [PHP] RE: PHP Security on Apache | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-148395@lists.php.net to get a copy of this message | ||
After some hard work and lots of guesses, I managed to figure it out, for
anyone with the same problem, just enter this into your ".htaccess" file.
SetEnv PHP_DOCUMENT_ROOT /www/cgi-bin
SetEnv REDIRECT_STATUS 200
And then it all works... well at least you can run your scripts then.
Regards,
Jonathan
www.xfcpro.com
-----Original Message-----
From: Jonathan Wilkes [mailto:jonathan@callview.com]
Sent: 20 May 2003 16:45
To: 'php-general@lists.php.net'
Subject: [PHP] RE: PHP Security on Apache
Hi all,
I still cannot get this to work, I know that I can set the "REDIRECT_STATUS"
variable within my ".htaccess" file, and I would love to try that, but....
I don't know what to set it's value to, any ideas?
regards,
Jonathan