Click to See Complete Forum and Search --> : .htaccess is driving me mad,


domuk
01-14-2004, 04:15 PM
.htaccess is driving me mad,

I must have read 20 tutorials, tried 3 different .htpasswd generators, tried various AuthUserFile directory locations and still no joy….

When I go to the protected directory the password box comes up with the username that I specified in the .htpasswd file. I enter the password 3 times and then get an access error.

My friend took his entire site and moved it to a new provider. He did not amend any of the files. Therefore the new provider has had the old .htpasswd files once already (with an incorrect path specified on the AuthUserFile line). Will this affect the working of the site if I FTP over them with the correct path?

When I use different encryption sites I get different encrypted passwords for the same text entered, could someone please explain why?

One thing that really bugs me is that the .htpasswd and .htaccess files disappear on my next FTP session, but the box still pops up. I assume they are still there but have been hidden for safety, is this the case?

I have asked the provider to let me know if I can use this type of file but they have not got back to me yet. Do any of you out there know if I can use them at Easily.co.uk ?


I am using notepad as a text editor

I am using windows xp professional for FTP (default ASCII according to windows help)

Any help would be very much Appreciated

Thanks,

Dom.

jane_262
01-15-2004, 06:53 PM
In Cute FTP Pro, you can right click on the screen to filter your files. Or, select View, Filter Current View, check the Server Side Filtering checkbox and enter the filter command of choice. I.e., -i, -a.

Use Server Side Filering to view hidden files:


Server Side Filtering: Here, users can define a custom listing command for remote systems supporting this feature. These custom commands are typically parameters to the Unix “ls” command. For example, to force display of hidden files, use the parameter “-a”.

Copyright © 2001 GlobalSCAPE Inc. All rights reserved.


If I needed help when I was working with passwords and I didn't write a script that would encrypt for me, I consistently used this link: http://www.euronet.nl/~arnow/htpasswd/ (conveniently saved in my favorites). The also have documentation that may be able to help you.

domuk
01-16-2004, 12:23 PM
Thank you so much for your help,


I knew i was using the wrong path for the server but didn't know what to use. I was supplied with the path from another server!!!!!!! I had no idea which server i was on or if they had multiple servers.

It took three days when it could have taken 1/2 hour with the correct information..


Dom.

omara
01-30-2004, 05:14 PM
I believe if you ftp the .htpasswrd file it will create a problem. re ceate the the access file on the server and use "$:/ htpasswrd" command to creat the password file. I believe the problem with notepad and ftp.

Omar

domuk
01-31-2004, 02:16 AM
Hi omara,

I have got it working using notpad and FTP.

It was the path to the server that was the problem. I had the data.

The pasword protection is working on the site now, do you think i still may have a problem?

Dom...

omara
02-02-2004, 12:51 PM
No. If it works, then great. from my experience I have problem from ftp .htpasswrd and .htaccess file.

Omar

domuk
02-02-2004, 03:16 PM
Hi omara,

I had problems with my FTP using the ftp in windows XP.

I could not see the files when they were there.

I changed to smartFTP and it is much better.

Ps i do not know how to use Unix commands (byt i am looking into it.....)

:(

Dom