By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,654 Members | 1,842 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,654 IT Pros & Developers. It's quick & easy.

htpasswd

P: n/a
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
Jul 17 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
In alt.apache.configuration Chris Mosser <cmosser_at_comcast_dot_net> wrote:
htpasswd use a different hashing algorithm than the unix version?


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

Davide
Jul 17 '05 #2

P: n/a
Davide Bianchi" <da************@onlyforfun.net> wrote in message
news:bp*************@ID-18487.news.uni-berlin.de...
In alt.apache.configuration Chris Mosser <cmosser_at_comcast_dot_net>

wrote:
htpasswd use a different hashing algorithm than the unix version?


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

Davide

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
Jul 17 '05 #3

P: n/a
In alt.apache.configuration Chris Mosser <cmosser_at_comcast_dot_net> wrote:
hmm, then since I don't have telnet access,
?? how do you manage other things on that server if you don't have
telnet or ssh access?
by using a php file with a system command


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

Davide
Jul 17 '05 #4

P: n/a

?? how do you manage other things on that server if you don't have
telnet or ssh access?

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
Jul 17 '05 #5

P: n/a
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_********************@comcast.com...
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

Jul 17 '05 #6

P: n/a

"news" <do**@ges.com> wrote in message
news:yM*****************@newsread2.news.pas.earthl ink.net...
The .htpassword files created on Windoze do work. Make sure you FTP them in ASCII mode. (the default is binary).

thanks, Ill double check that

c mosser
Jul 17 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.