PHP == cgi resource
| From: | Lelon | Date: | Sun, 19 Nov 2000 00:48:08 +0000 |
| Subject: | PHP == cgi resource | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26087@lists.php.net to get a copy of this message | ||
HERE's my problem. I want my php script to be able to access a file that is
not publically accessible (in other words chmod 750).
As far as I know php has no way to "setuid" like perl.
Someone told me i could use rewrite rules in my .htaccess so all requests
for .mp3 files could be forwared (but my php could still access it) that
didnt seem to work well.
Now i'm down to using suEXEC, but i can't seem to configure my .htaccess
heres what i got
<VirtualHost mp3.9pnet.com>
user Lelon
</VirtualHost>
anyone have ANY solution to this problem?
-lelon