RE: [PHP] Preventing Access to Private Files
| From: | Daevid Vincent | Date: | Fri, 07 Sep 2007 00:10:19 +0000 |
| Subject: | RE: [PHP] Preventing Access to Private Files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-261805@lists.php.net to get a copy of this message | ||
Depends on your host I guess. Some hosts give you an entire Virtual Machine
with root access. It depends on your distro too. But usually it's in
/etc/apache...
If you don't have direct access, you will have to talk to them about if
mod_auth_mysql is installed and have them setup for you. If it's installed,
you could also do the .htaccess route, but that's not as elegant.
d
> -----Original Message-----
> From: tedd [mailto:tedd@sperling.com]
> Sent: Thursday, September 06, 2007 5:02 PM
> To: Daevid Vincent; php-general@lists.php.net
> Subject: RE: [PHP] Preventing Access to Private Files
>
> At 1:15 PM -0700 9/6/07, Daevid Vincent wrote:
> >Basically add something like this to your apache vhost_foo.conf file:
>
> Where's that?
>
> I'm on a hosted server -- is that something that I can get to?
>
> Cheers,
>
> tedd
> --
> -------
> http://sperling.com
> http://ancientstones.com
> http://earthstones.com
>