[thelist] .htaccess

R.Livsey R.Livsey at cache-22.co.uk
Thu May 31 20:04:24 CDT 2001


> -----Original Message-----
> From: thelist-admin at lists.evolt.org 
> [mailto:thelist-admin at lists.evolt.org] On Behalf Of Warden, Matt
> Sent: 01 June 2001 01:51
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] .htaccess
> 
> > From: "R.Livsey" <R.Livsey at cache-22.co.uk>
> > Subject: [thelist] .htaccess
> > 
> 
> > What do I need to add to my .htaccess file to stop people 
> being able 
> > to read my .htpasswd file through the browser?
> 
> Nothing really. Simply store your .htpasswd file below the 
> site root. So, if you have:
> 
> /
> /public_html/
> 
> You would store your .htpasswd file somewhere in / or a 
> subdirectory other than public_html.
> 
> Apache won't serve the file if it's not in public_html... 
> well, it shouldn't, anyway.
> 
> 
> hth,
> 
> 
> --
> mattwarden

Normaly I would do that, but this is with a host where I can only ftp
into the site root - ie I cant put any files anywhere other than the
site.


R.Livsey
Lead Programmer for the Tickle Group
Freelance work always welcome
[ PHP | Perl | mySQL | Java ]
work 		: www.tickle.co.uk
personal 	: www.cache-22.co.uk
e : R.Livsey at cache-22.co.uk
m : +447764 685 701
i : 37530949  
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.252 / Virus Database: 125 - Release Date: 09/05/2001






More information about the thelist mailing list