Connecting Tech Pros Worldwide Forums | Help | Site Map

htpasswd

Chris Mosser
Guest
 
Posts: n/a
#1: Jul 17 '05
I created a passwd file on apache2 win xp and then transferred the file to a
unix server since I dont have telnet access to do it directly. But I keep
getting a 401 error code when I try to log in. Do the win versions of
htpasswd use a different hashing algorithm than the unix version? Is that
possibly why my possword doesnt seem to be working?

thnx

--
Chris Mosser



Davide Bianchi
Guest
 
Posts: n/a
#2: Jul 17 '05

re: htpasswd


In alt.apache.configuration Chris Mosser <cmosser_at_comcast_dot_net> wrote:[color=blue]
> htpasswd use a different hashing algorithm than the unix version?[/color]

This is possible, since the programs uses the crypt library on the
system.

Davide
Chris Mosser
Guest
 
Posts: n/a
#3: Jul 17 '05

re: htpasswd


Davide Bianchi" <davideyeahsure@onlyforfun.net> wrote in message
news:bp9sp6$1mftth$2@ID-18487.news.uni-berlin.de...[color=blue]
> In alt.apache.configuration Chris Mosser <cmosser_at_comcast_dot_net>[/color]
wrote:[color=blue][color=green]
> > htpasswd use a different hashing algorithm than the unix version?[/color]
>
> This is possible, since the programs uses the crypt library on the
> system.
>
> Davide[/color]


hmm, then since I don't have telnet access, should I just try to create it
by using a php file with a system command, will this end up with correct
permissions and such?

thnx

Chris Mosser


Davide Bianchi
Guest
 
Posts: n/a
#4: Jul 17 '05

re: htpasswd


In alt.apache.configuration Chris Mosser <cmosser_at_comcast_dot_net> wrote:[color=blue]
> hmm, then since I don't have telnet access,[/color]

?? how do you manage other things on that server if you don't have
telnet or ssh access?
[color=blue]
> by using a php file with a system command[/color]

I wonder if it will work. I'd ask the hosting provider.

Davide
Chris Mosser
Guest
 
Posts: n/a
#5: Jul 17 '05

re: htpasswd


[color=blue]
>
> ?? how do you manage other things on that server if you don't have
> telnet or ssh access?[/color]


ha, funny you should ask

ftp, plesk and phpmyadmin

ps, I did not pick this server, it is slow and kinda hard to work with
without telnet for something's. Although it is my 1st time using plesk and
I haven't decided if I like using it yet or not.

I can't even view any ".ht" files from ftp so if I forget what directory I
placed one in, I may never find it again.
Anyway, I'm going to try to create 1 through php, and if that doesn't work,
I'll just put some error 401 code in each document and do it that way.


thnx anyways

Chris Mosser


news
Guest
 
Posts: n/a
#6: Jul 17 '05

re: htpasswd


The .htpassword files created on Windoze do work. Make sure you FTP them in
ASCII mode. (the default is binary).


"Chris Mosser" <cmosser_at_comcast_dot_net> wrote in message
news:g_qdnTVQhfohzSWi4p2dnA@comcast.com...[color=blue]
> I created a passwd file on apache2 win xp and then transferred the file to[/color]
a[color=blue]
> unix server since I dont have telnet access to do it directly. But I keep
> getting a 401 error code when I try to log in. Do the win versions of
> htpasswd use a different hashing algorithm than the unix version? Is that
> possibly why my possword doesnt seem to be working?
>
> thnx
>
> --
> Chris Mosser
>
>[/color]


Chris Mosser
Guest
 
Posts: n/a
#7: Jul 17 '05

re: htpasswd



"news" <doug@ges.com> wrote in message
news:yMgub.4336$sb4.2310@newsread2.news.pas.earthl ink.net...[color=blue]
> The .htpassword files created on Windoze do work. Make sure you FTP them[/color]
in[color=blue]
> ASCII mode. (the default is binary).
>[/color]
thanks, Ill double check that

c mosser


Closed Thread