password protect

ive read tons already but all the tutorials fall short…

anyone care to PLEASE touch down briefly on this…

i already know.

about placmentof the .htaccess and the .htpasswd files.

i am having trouble with it accepting my encrypted password which i
created at…

http://www.bruce-hamilton.com/tutorials/password.shtml

using its little password encryption form.

-:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic Design:
http://www.diligentimpact.com

Re: password protect

oh yeah and…

i dont want to have to telnet. i want to do it throught ftp if poss.

-:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic Design:
http://www.diligentimpact.com

“Term” <turmz@hotmail.com> wrote in message
news:9bded2$lnj$1@constitution.worldwebserver.com
> ive read tons already but all the tutorials fall short…
>
> anyone care to PLEASE touch down briefly on this…
>
> i already know.
>
> about placmentof the .htaccess and the .htpasswd files.
>
> i am having trouble with it accepting my encrypted password which i
created
> at…
>
> http://www.bruce-hamilton.com/tutorials/password.shtml
>
> using its little password encryption form.
>
> –
>
>
> -:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic Design:
> http://www.diligentimpact.com

Re: password protect

i just found out you cant do it properly without telnet access :frowning:

-:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic Design:
http://www.diligentimpact.com

“Term” <turmz@hotmail.com> wrote in message
news:9bded2$lnj$1@constitution.worldwebserver.com
> ive read tons already but all the tutorials fall short…
>
> anyone care to PLEASE touch down briefly on this…
>
> i already know.
>
> about placmentof the .htaccess and the .htpasswd files.
>
> i am having trouble with it accepting my encrypted password which i
created
> at…
>
> http://www.bruce-hamilton.com/tutorials/password.shtml
>
> using its little password encryption form.
>
> –
>
>
> -:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic Design:
> http://www.diligentimpact.com

Re: password protect

Term wrote:
>
> i just found out you cant do it properly without telnet access

Why don’t you want to have to telnet? Telnet is like, the very first thing
I learned to do on the internet. It’s like the simplest thing.


Get Paid to Surf the Web! http://www.getpaid4.com/?shenacat

Shena Delian O’Brien * http://www.darklock.com/shena/ The Graphics Kitty!

Re: password protect

On Sun, 15 Apr 2001 19:24:24 -0500 Term said…

> ive read tons already but all the tutorials fall short…

Well you didn’t look hard enuff :wink:

what you need to do is make a file called .htaccess with the following…

AuthUserFile /path/to/.htpasswd AuthName Secure area AuthType Basic

<Limit GET> require valid-user </Limit>

and upload it to your the directory you want to protect.

AuthUserFile is the full path to your .htpasswd file. AuthName is what
will show up as the title in the box the browser will pop up.

now telnet into your server (yep you have to telnet)

and type this hit enter…

htpasswd -c /path/to/.htpasswd username

/path/to/.htpasswd is the same path you used for AuthUserFile

username is the username you want to use.

You will be asked for the password type it in (You will not see the
password or any *** as you type).

it will then ask you to type it again… so type it again.

your done.

If you happen to get a command not found try this.

/usr/local/apache/bin/htpasswd -c /path/to/.htpasswd username


John R. Marshall JRM Studios.com - http://www.jrmstudios.com The
Hotrodding Network - http://www.hotrodding.net

Re: password protect

Shena Delian O’Brien wrote in message <3ADA57AE.A851A09C@darklock.com>…
>Term wrote:
>>
>> i just found out you cant do it properly without telnet access
>
>Why don’t you want to have to telnet? Telnet is like, the very
>first thing
I
>learned to do on the internet. It’s like the simplest thing.

The first thing I learned to do on the Internet was to start an IRC client
– and THAT was from a MajorBBS system. :wink: First raw thing I learned was
to Telnet so I could play Tradewars 2002 games. :slight_smile:


Sean S. -:- ICQ: 1826323 (Email: sunymoon <AT> GeoCities >DOT< com )

Re: password protect

http://wwsi.net/htaccess.html


JD

“Of course that’s just my opinion, I could be wrong . . .” Dennis Miller


Term wrote in message <9bded2$lnj$1@constitution.worldwebserver.com>…
>ive read tons already but all the tutorials fall short…
>
>anyone care to PLEASE touch down briefly on this…
>
>i already know.
>
>about placmentof the .htaccess and the .htpasswd files.
>
>i am having trouble with it accepting my encrypted password which i
>created at…
>
>http://www.bruce-hamilton.com/tutorials/password.shtml
>
>using its little password encryption form.
>
>–
>
>
>-:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic Design:
>http://www.diligentimpact.com

Re: password protect

I can, why can’t you?

Peter Go posted this little tool called “The Commander” on
http://www.icthus.net/CGI-City/scr_cgicity.shtml#COMMANDER

It saved me countless hours of troubleshooting without telnet. But the
catch is that you work as a web server, not as a user.

Leo

“Term” <turmz@hotmail.com> wrote in message
news:9bdhls$n0b$1@constitution.worldwebserver.com
> i just found out you cant do it properly without telnet access
>
> –
>
>
> -:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic Design:
> http://www.diligentimpact.com
>
> “Term” <turmz@hotmail.com> wrote in message
> news:9bded2$lnj$1@constitution.worldwebserver.com
> > ive read tons already but all the tutorials fall short…
> >
> > anyone care to PLEASE touch down briefly on this…
> >
> > i already know.
> >
> > about placmentof the .htaccess and the .htpasswd files.
> >
> > i am having trouble with it accepting my encrypted password which i
> created
> > at…
> >
> > http://www.bruce-hamilton.com/tutorials/password.shtml
> >
> > using its little password encryption form.
> >
> > –
> >
> >
> > -:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic
> > Design: http://www.diligentimpact.com
> >
> >
>

Re: password protect

Nope. i DIDNT have telnet access… till just now thanks to a mysterious
someone :wink:

how do i know i didnt? i tryed and it said… you do not have telnet
access.

thanks for the tutorial.

-:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic Design:
http://www.diligentimpact.com

“John R. Marshall” <john@jrmstudios.com> wrote in message
news:MPG.15442556e8fadb81989741@news.worldwebserver.com
> On Sun, 15 Apr 2001 19:24:24 -0500 Term said…
>
> > ive read tons already but all the tutorials fall short…
>
> Well you didn’t look hard enuff
>
> what you need to do is make a file called .htaccess with the
> following…
>
> AuthUserFile /path/to/.htpasswd AuthName Secure area AuthType Basic
>
> <Limit GET> require valid-user </Limit>
>
> and upload it to your the directory you want to protect.
>
> AuthUserFile is the full path to your .htpasswd file. AuthName is what
> will show up as the title in the box the browser will pop up.
>
> now telnet into your server (yep you have to telnet)
>
> and type this hit enter…
>
> htpasswd -c /path/to/.htpasswd username
>
> /path/to/.htpasswd is the same path you used for AuthUserFile
>
> username is the username you want to use.
>
> You will be asked for the password type it in (You will not see the
> password or any *** as you type).
>
> it will then ask you to type it again… so type it again.
>
> your done.
>
> If you happen to get a command not found try this.
>
> /usr/local/apache/bin/htpasswd -c /path/to/.htpasswd username
>
>
>
> –
> John R. Marshall JRM Studios.com - http://www.jrmstudios.com The
> Hotrodding Network - http://www.hotrodding.net

Re: password protect

I didnt mean i didnt “want” to… i meant…

i didnt want to as in…

i didnt have access.

my bad.

-:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic Design:
http://www.diligentimpact.com

“Shena Delian O’Brien” <shena@darklock.com> wrote in message
news:3ADA57AE.A851A09C@darklock.com
> Term wrote:
> >
> > i just found out you cant do it properly without telnet access
>
> Why don’t you want to have to telnet? Telnet is like, the very
> first thing
I
> learned to do on the internet. It’s like the simplest thing.
>
> –
> Get Paid to Surf the Web! http://www.getpaid4.com/?shenacat
>
> Shena Delian O’Brien * http://www.darklock.com/shena/ The Graphics
> Kitty! * http://www.darklock.com/abstract/ Fantasy Age *
> http://www.darklock.com/fantasy/

Re: password protect

hey… i tried the htpasswd -c path… one and it said command not found…
so i tried the apache path you spoke of and it says… no such file or
directory…

sould i go upload a .htpasswd file in the directory first ?

-:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic Design:
http://www.diligentimpact.com

“John R. Marshall” <john@jrmstudios.com> wrote in message
news:MPG.15442556e8fadb81989741@news.worldwebserver.com
> On Sun, 15 Apr 2001 19:24:24 -0500 Term said…
>
> > ive read tons already but all the tutorials fall short…
>
> Well you didn’t look hard enuff
>
> what you need to do is make a file called .htaccess with the
> following…
>
> AuthUserFile /path/to/.htpasswd AuthName Secure area AuthType Basic
>
> <Limit GET> require valid-user </Limit>
>
> and upload it to your the directory you want to protect.
>
> AuthUserFile is the full path to your .htpasswd file. AuthName is what
> will show up as the title in the box the browser will pop up.
>
> now telnet into your server (yep you have to telnet)
>
> and type this hit enter…
>
> htpasswd -c /path/to/.htpasswd username
>
> /path/to/.htpasswd is the same path you used for AuthUserFile
>
> username is the username you want to use.
>
> You will be asked for the password type it in (You will not see the
> password or any *** as you type).
>
> it will then ask you to type it again… so type it again.
>
> your done.
>
> If you happen to get a command not found try this.
>
> /usr/local/apache/bin/htpasswd -c /path/to/.htpasswd username
>
>
>
> –
> John R. Marshall JRM Studios.com - http://www.jrmstudios.com The
> Hotrodding Network - http://www.hotrodding.net

Re: password protect

my bad… you said “you have TO telnet” hehe

-:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic Design:
http://www.diligentimpact.com

“Term” <turmz@hotmail.com> wrote in message
news:9bfrr6$iir$1@constitution.worldwebserver.com
> Nope. i DIDNT have telnet access… till just now thanks to a mysterious
> someone
>
> how do i know i didnt? i tryed and it said… you do not have telnet
access.
>
>
> thanks for the tutorial.
>
> –
>
>
> -:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic Design:
> http://www.diligentimpact.com
>
> “John R. Marshall” <john@jrmstudios.com> wrote in message
> news:MPG.15442556e8fadb81989741@news.worldwebserver.com
> > On Sun, 15 Apr 2001 19:24:24 -0500 Term said…
> >
> > > ive read tons already but all the tutorials fall short…
> >
> > Well you didn’t look hard enuff
> >
> > what you need to do is make a file called .htaccess with the
> > following…
> >
> > AuthUserFile /path/to/.htpasswd AuthName Secure area AuthType Basic
> >
> > <Limit GET> require valid-user </Limit>
> >
> > and upload it to your the directory you want to protect.
> >
> > AuthUserFile is the full path to your .htpasswd file. AuthName is what
> > will show up as the title in the box the browser will pop up.
> >
> > now telnet into your server (yep you have to telnet)
> >
> > and type this hit enter…
> >
> > htpasswd -c /path/to/.htpasswd username
> >
> > /path/to/.htpasswd is the same path you used for AuthUserFile
> >
> > username is the username you want to use.
> >
> > You will be asked for the password type it in (You will not see the
> > password or any *** as you type).
> >
> > it will then ask you to type it again… so type it again.
> >
> > your done.
> >
> > If you happen to get a command not found try this.
> >
> > /usr/local/apache/bin/htpasswd -c /path/to/.htpasswd username
> >
> >
> >
> > –
> > John R. Marshall JRM Studios.com - http://www.jrmstudios.com The
> > Hotrodding Network - http://www.hotrodding.net

Re: password protect

sorry … it said…

bash: /usr/local/apache/bin/htpasswd no such file ro directory (or
whatever you told me to type)

-:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic Design:
http://www.diligentimpact.com

“Term” <turmz@hotmail.com> wrote in message
news:9bg0bv$kmo$1@constitution.worldwebserver.com
> hey… i tried the htpasswd -c path… one and it said command not
> found…
so
> i tried the apache path you spoke of and it says… no such file or
> directory…
>
> sould i go upload a .htpasswd file in the directory first ?
>
> –
>
>
> -:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic Design:
> http://www.diligentimpact.com
>
> “John R. Marshall” <john@jrmstudios.com> wrote in message
> news:MPG.15442556e8fadb81989741@news.worldwebserver.com
> > On Sun, 15 Apr 2001 19:24:24 -0500 Term said…
> >
> > > ive read tons already but all the tutorials fall short…
> >
> > Well you didn’t look hard enuff
> >
> > what you need to do is make a file called .htaccess with the
> > following…
> >
> > AuthUserFile /path/to/.htpasswd AuthName Secure area AuthType Basic
> >
> > <Limit GET> require valid-user </Limit>
> >
> > and upload it to your the directory you want to protect.
> >
> > AuthUserFile is the full path to your .htpasswd file. AuthName is what
> > will show up as the title in the box the browser will pop up.
> >
> > now telnet into your server (yep you have to telnet)
> >
> > and type this hit enter…
> >
> > htpasswd -c /path/to/.htpasswd username
> >
> > /path/to/.htpasswd is the same path you used for AuthUserFile
> >
> > username is the username you want to use.
> >
> > You will be asked for the password type it in (You will not see the
> > password or any *** as you type).
> >
> > it will then ask you to type it again… so type it again.
> >
> > your done.
> >
> > If you happen to get a command not found try this.
> >
> > /usr/local/apache/bin/htpasswd -c /path/to/.htpasswd username
> >
> >
> >
> > –
> > John R. Marshall JRM Studios.com - http://www.jrmstudios.com The
> > Hotrodding Network - http://www.hotrodding.net

Re: password protect

ok… i was in the wrong directory…

but now im in the right place and its saying that htpasswd is “command
not found” ??

-:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic Design:
http://www.diligentimpact.com

“Term” <turmz@hotmail.com> wrote in message
news:9bg0k2$kpm$1@constitution.worldwebserver.com
> sorry … it said…
>
> bash: /usr/local/apache/bin/htpasswd no such file ro directory (or
whatever
> you told me to type)
>
> –
>
>
> -:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic Design:
> http://www.diligentimpact.com
>
> “Term” <turmz@hotmail.com> wrote in message
> news:9bg0bv$kmo$1@constitution.worldwebserver.com
> > hey… i tried the htpasswd -c path… one and it said command not
found…
> so
> > i tried the apache path you spoke of and it says… no such file or
> > directory…
> >
> > sould i go upload a .htpasswd file in the directory first ?
> >
> > –
> >
> >
> > -:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic
> > Design: http://www.diligentimpact.com
> >
> > “John R. Marshall” <john@jrmstudios.com> wrote in message
> > news:MPG.15442556e8fadb81989741@news.worldwebserver.com
> > > On Sun, 15 Apr 2001 19:24:24 -0500 Term said…
> > >
> > > > ive read tons already but all the tutorials fall short…
> > >
> > > Well you didn’t look hard enuff
> > >
> > > what you need to do is make a file called .htaccess with the
> > > following…
> > >
> > > AuthUserFile /path/to/.htpasswd AuthName Secure area AuthType Basic
> > >
> > > <Limit GET> require valid-user </Limit>
> > >
> > > and upload it to your the directory you want to protect.
> > >
> > > AuthUserFile is the full path to your .htpasswd file. AuthName is
> > > what will show up as the title in the box the browser will pop up.
> > >
> > > now telnet into your server (yep you have to telnet)
> > >
> > > and type this hit enter…
> > >
> > > htpasswd -c /path/to/.htpasswd username
> > >
> > > /path/to/.htpasswd is the same path you used for AuthUserFile
> > >
> > > username is the username you want to use.
> > >
> > > You will be asked for the password type it in (You will not see the
> > > password or any *** as you type).
> > >
> > > it will then ask you to type it again… so type it again.
> > >
> > > your done.
> > >
> > > If you happen to get a command not found try this.
> > >
> > > /usr/local/apache/bin/htpasswd -c /path/to/.htpasswd username
> > >
> > >
> > >
> > > –
> > > John R. Marshall JRM Studios.com - http://www.jrmstudios.com The
> > > Hotrodding Network - http://www.hotrodding.net
> >
>

Re: password protect

On Mon, 16 Apr 2001 18:47:37 -0500 Term said…

> sorry … it said…
>
> bash: /usr/local/apache/bin/htpasswd no such file ro directory (or
> whatever you told me to type)

Type in

whereis apache

that will tell you where apache is located at… then cd to that
directory and type

ls -al

look for the bin directory, cd to that and do ls -al again… you should
see htpasswd in there.

now type in

./htpasswd -c /path/to/.htpasswd username


John R. Marshall JRM Studios.com - http://www.jrmstudios.com The
Hotrodding Network - http://www.hotrodding.net

Re: password protect

Term wrote:
>
> ok… i was in the wrong directory…
>
> but now im in the right place and its saying that htpasswd is "command
> not found" ??

$ which htpasswd $ find / -type f -name httpasswd 2> /dev/null $
locate htpasswd

Each one of these command will search the drives and look for the file
named “htpasswd”. They will return a list of possible places, with the
full path. eg:

$ find / -type f -name htpasswd 2> /dev/null
/home/chiliasp/admin/conf/htpasswd /usr/bin/htpasswd

then, try running the command like JRM said:

$ /usr/bin/htpasswd -c /path/to/.htpasswd

-Mike K.

Re: password protect

Instead of /usr/local/apache/bin/htpasswd

Try: /usr/local/apache/sbin/htpasswd


JD

“Of course that’s just my opinion, I could be wrong . . .” Dennis Miller


Term wrote in message <9bg0k2$kpm$1@constitution.worldwebserver.com>…
>sorry … it said…
>
>bash: /usr/local/apache/bin/htpasswd no such file ro directory (or
>whatever you told me to type)
>
>–
>
>
>-:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic Design:
>http://www.diligentimpact.com
>
>“Term” <turmz@hotmail.com> wrote in message
>news:9bg0bv$kmo$1@constitution.worldwebserver.com
>> hey… i tried the htpasswd -c path… one and it said command not
>> found…
>so
>> i tried the apache path you spoke of and it says… no such file or
>> directory…
>>
>> sould i go upload a .htpasswd file in the directory first ?
>>
>> –
>>
>>
>> -:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic Design:
>> http://www.diligentimpact.com
>>
>> “John R. Marshall” <john@jrmstudios.com> wrote in message
>> news:MPG.15442556e8fadb81989741@news.worldwebserver.com
>> > On Sun, 15 Apr 2001 19:24:24 -0500 Term said…
>> >
>> > > ive read tons already but all the tutorials fall short…
>> >
>> > Well you didn’t look hard enuff
>> >
>> > what you need to do is make a file called .htaccess with the
>> > following…
>> >
>> > AuthUserFile /path/to/.htpasswd AuthName Secure area AuthType Basic
>> >
>> > <Limit GET> require valid-user </Limit>
>> >
>> > and upload it to your the directory you want to protect.
>> >
>> > AuthUserFile is the full path to your .htpasswd file. AuthName is
>> > what will show up as the title in the box the browser will pop up.
>> >
>> > now telnet into your server (yep you have to telnet)
>> >
>> > and type this hit enter…
>> >
>> > htpasswd -c /path/to/.htpasswd username
>> >
>> > /path/to/.htpasswd is the same path you used for AuthUserFile
>> >
>> > username is the username you want to use.
>> >
>> > You will be asked for the password type it in (You will not see the
>> > password or any *** as you type).
>> >
>> > it will then ask you to type it again… so type it again.
>> >
>> > your done.
>> >
>> > If you happen to get a command not found try this.
>> >
>> > /usr/local/apache/bin/htpasswd -c /path/to/.htpasswd username
>> >
>> >
>> >
>> > –
>> > John R. Marshall JRM Studios.com - http://www.jrmstudios.com The
>> > Hotrodding Network - http://www.hotrodding.net
>>
>

i found out that my htpasswd is at:

/usr/sbin/htpasswd

by doing locate htpasswd

and now i changed my username and password by doing…

/usr/sbin/htpasswd -c /path/to/.htpasswd term

of course i typed the correct path for path to

but last time i did this… it didnt work ?

it says “adding password for user term”

but then when i try to call it from the .htaccess file it doesnt work ?!

i go to the page where the .htaccess file has the directory protect and
the box comes up for me to type in the password and the password i put in
doesnt work… ?!

wierd… and yes i know it is case sensative (right?)

-:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic Design:
http://www.diligentimpact.com

“John R. Marshall” <john@jrmstudios.com> wrote in message
news:MPG.1545603dbd799129989746@news.worldwebserver.com
> On Mon, 16 Apr 2001 18:47:37 -0500 Term said…
>
> > sorry … it said…
> >
> > bash: /usr/local/apache/bin/htpasswd no such file ro directory (or
whatever
> > you told me to type)
>
> Type in
>
> whereis apache
>
> that will tell you where apache is located at… then cd to that
> directory and type
>
> ls -al
>
> look for the bin directory, cd to that and do ls -al again… you should
> see htpasswd in there.
>
> now type in
>
> ./htpasswd -c /path/to/.htpasswd username
>
> –
> John R. Marshall JRM Studios.com - http://www.jrmstudios.com The
> Hotrodding Network - http://www.hotrodding.net

On Sat, 21 Apr 2001 15:46:43 -0500 Term said…

> i go to the page where the .htaccess file has the directory protect and
> the box comes up for me to type in the password and the password i put
> in doesnt work… ?!

double check the paths to .htpasswd in your .htaccess make sure they
are the same and that the .htpasswd file is actually where it’s
supposed to be.


John R. Marshall JRM Studios.com - http://www.jrmstudios.com The
Hotrodding Network - http://www.hotrodding.net

here was the command in telneting to change make the user.

/usr/sbin/htpasswd -c /home/sites/site12/web/hhd/.htpasswd term

and then password of course :slight_smile:

now here is my .htaccess file which is to be placed in:
/home/sites/site12/web/cgi-bin/hhd/admin

AuthType Basic AuthUserFile /home/sites/site12/web/hhd/.htpasswd
AuthGroupFile /dev/null AuthName “Secure Area”

<LIMIT GET POST PUT> require valid-user </LIMIT>

look good ?

-:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic Design:
http://www.diligentimpact.com

“John R. Marshall” <john@jrmstudios.com> wrote in message
news:MPG.154bbef46f9bd03598975e@news.worldwebserver.com
> On Sat, 21 Apr 2001 15:46:43 -0500 Term said…
>
> > i go to the page where the .htaccess file has the directory
> > protect and
the
> > box comes up for me to type in the password and the password i put in
doesnt
> > work… ?!
>
> double check the paths to .htpasswd in your .htaccess make sure they
> are the same and that the .htpasswd file is actually where it’s
> supposed to be.
>
>
> –
> John R. Marshall JRM Studios.com - http://www.jrmstudios.com The
> Hotrodding Network - http://www.hotrodding.net