Connecting Tech Pros Worldwide Help | Site Map

htpasswd

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 01:10 AM
Chris Mosser
Guest
 
Posts: n/a
Default htpasswd

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



  #2  
Old July 17th, 2005, 01:10 AM
Davide Bianchi
Guest
 
Posts: n/a
Default 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
  #3  
Old July 17th, 2005, 01:10 AM
Chris Mosser
Guest
 
Posts: n/a
Default 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


  #4  
Old July 17th, 2005, 01:10 AM
Davide Bianchi
Guest
 
Posts: n/a
Default 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
  #5  
Old July 17th, 2005, 01:10 AM
Chris Mosser
Guest
 
Posts: n/a
Default 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


  #6  
Old July 17th, 2005, 01:11 AM
news
Guest
 
Posts: n/a
Default 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]


  #7  
Old July 17th, 2005, 01:12 AM
Chris Mosser
Guest
 
Posts: n/a
Default 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


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.