You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by web man <we...@yahoo.com> on 2003/01/28 17:21:53 UTC
[users@httpd] Creating HTACCESS FILE
Hi Guys,
I have asked this question before.
Till now I have never been able to get my way around it.
Please can anyone simply tell me in a lamer term what the content of htaccess should be in case I want to create a group of authentication file.
Thanks
God Bless You.
---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
Re: [users@httpd] Creating HTACCESS FILE
Posted by Mystery Admin <my...@whatfantasiesmaycome.com>.
On Tue, 28 Jan 2003 at 08:22:46, web man wrote:
> Hi Guys,
>
> I have asked this question before.
> Till now I have never been able to get my way around it.
> Please can anyone simply tell me in a lamer term what the content of htaccess
> should be in case I want to create a group of authentication file.
Searching the mailing list archives would have saved you a TON of grief as I
just posted the below info the other day..... ;)
Below is a sample .htaccess file:
[tom@linux stats]$ cat .htaccess
AuthUserFile /path/to/dir/.htpasswd
AuthGroupFile /dev/null
AuthName "Restricted Area"
AuthType Basic
<Limit GET>
require valid-user
</Limit>
[tom@linux stats]$
It's an ASCII text file that "lives" in the directory you want it to apply to.
Good luck!
Peace....
___________________
http://jawmail.org/
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org