You need to create a file called .htaccess in the directory you wanna
protect.
I don't remember the exact syntax of the file , but you should find many
examples on the net.
htpasswd is used to create the password file used by .htaccess AFAIK
it's recommended to put the password file outside of the htdoc dir.
Oh , I just remembered - lookup apache auth on www.webmonkey.com i think
i saw a tutorial there once.
Hetz Ben Hamo wrote:
> 
> Hi,
> 
> I've asked this question before, but I lost the email and the archive
> doesn't help me much...
> 
> So here it is...
> 
> How can I set a specific directory on my Apache web server to require a
> user/pass??
> 
> Some web sites which I looked only suggest to use htpasswd <filename>
> <username> - but that doesn't help..
> 
> Also, if someone could give an example - it would be better...
> 
> Thanks,
> Hetz
> 
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]

-- 
                                                Regards
                                                Alex Dubrovsky
                                                System Administrator
                                                Nbase Communications
                                                Email: [EMAIL PROTECTED]
                                                Phone: 972-4-9936290
begin:vcard 
n:Dubrovsky;Alex
x-mozilla-html:FALSE
org:NBase Communications;R&D
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;0
fn:Alex Dubrovsky
end:vcard
  • Ap... Hetz Ben Hamo
    • ... Ben-Nes Michael
    • ... Alex Dubrovsky
    • ... פופוב יבגני

Reply via email to