[thelist] .htaccess

Martin Kuplens-Ewart martin at takingitglobal.org
Thu May 31 20:08:49 CDT 2001


How about placing it in the password-protected directory itself?

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org] On Behalf Of R.Livsey
Sent: Thursday, May 31, 2001 9:05 PM
To: thelist at lists.evolt.org
Subject: RE: [thelist] .htaccess


> -----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



---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to: http://lists.evolt.org
Workers of the Web, evolt ! 





More information about the thelist mailing list