[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Apache directory premission
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 linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
--
Regards
Alex Dubrovsky
System Administrator
Nbase Communications
Email: spade@nbase.co.il
Phone: 972-4-9936290
begin:vcard
n:Dubrovsky;Alex
x-mozilla-html:FALSE
org:NBase Communications;R&D
adr:;;;;;;
version:2.1
email;internet:spade@nbase.co.il
x-mozilla-cpt:;0
fn:Alex Dubrovsky
end:vcard