ComputerForum.com ComputerForum.com  
TigerDirect
 
Go Back   Computer Forum > Internet > Internet Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 11-18-2005, 05:06 PM   #1 (permalink)
VIP Member
 
lee101's Avatar
 
Join Date: Mar 2005
Location: UK
Age: 17
Posts: 1,150
Unhappy Password Protection Help please

Hi, i have been trying to get a certain directory of my web server password protected, and have found the most efficent way of doing this is using .htaccess

I have read online tutorials from www.freewebmasterhelp.com/tutorials/htaccess/3 but and tried to create the files but it simply won;t let me login

In the directory, /protected , which i want protected i have put a .htacess file containing the following:
Quote:
AuthType Basic
AuthUserFile /ht/.htpasswd
AuthName "Login"
require valid-user
then in a folder called ht i have put a file called .htpasswd which contains the following:
Quote:
lee:lee
When i go to the adress (192.168.0.2/protected) the login screen appears, then i enter the username and password but this screen just keeps popping up, and will not let me in
I cannot seem to figure this problem out and i am sure i have got everything correct, unless there is just something simple.
So please help me
Thanks, Lee
__________________
My PC: Core2Duo E6300 @ 1.86 Ghz, Asus P5v-VM DH , 200 GB Maxtor SATA ,2GB (2*1GB Kingston DDRII), Radeon x1650 Graphics (256 mb), 2* Acer 17 inch TFT's, Windows Vista Home Premium
Server: AMD Athlon XP 2800+ 256 Mb Ram, 8Gb IDE for o/s, 2 * 250GB SATAII for storage, Ubuntu Server 7.10

lee101 is offline   Reply With Quote


Old 11-18-2005, 05:27 PM   #2 (permalink)
VIP Member
 
lee101's Avatar
 
Join Date: Mar 2005
Location: UK
Age: 17
Posts: 1,150
Default

I have tried it on a website to see if apache was messing it up on my computer but it still doesn't work does anyone have any ideas,
Thanks, Lee
__________________
My PC: Core2Duo E6300 @ 1.86 Ghz, Asus P5v-VM DH , 200 GB Maxtor SATA ,2GB (2*1GB Kingston DDRII), Radeon x1650 Graphics (256 mb), 2* Acer 17 inch TFT's, Windows Vista Home Premium
Server: AMD Athlon XP 2800+ 256 Mb Ram, 8Gb IDE for o/s, 2 * 250GB SATAII for storage, Ubuntu Server 7.10

lee101 is offline   Reply With Quote
Old 11-19-2005, 11:13 AM   #3 (permalink)
VIP Member
 
lee101's Avatar
 
Join Date: Mar 2005
Location: UK
Age: 17
Posts: 1,150
Default

Anyone?
__________________
My PC: Core2Duo E6300 @ 1.86 Ghz, Asus P5v-VM DH , 200 GB Maxtor SATA ,2GB (2*1GB Kingston DDRII), Radeon x1650 Graphics (256 mb), 2* Acer 17 inch TFT's, Windows Vista Home Premium
Server: AMD Athlon XP 2800+ 256 Mb Ram, 8Gb IDE for o/s, 2 * 250GB SATAII for storage, Ubuntu Server 7.10

lee101 is offline   Reply With Quote
Old 11-19-2005, 12:25 PM   #4 (permalink)
VIP Member
 
lee101's Avatar
 
Join Date: Mar 2005
Location: UK
Age: 17
Posts: 1,150
Default

It doesn't matter now, i have managed to fix it
__________________
My PC: Core2Duo E6300 @ 1.86 Ghz, Asus P5v-VM DH , 200 GB Maxtor SATA ,2GB (2*1GB Kingston DDRII), Radeon x1650 Graphics (256 mb), 2* Acer 17 inch TFT's, Windows Vista Home Premium
Server: AMD Athlon XP 2800+ 256 Mb Ram, 8Gb IDE for o/s, 2 * 250GB SATAII for storage, Ubuntu Server 7.10

lee101 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:04 AM.


Powered by: vBulletin Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright © 2002-2008 Computer Forum and Web Design Forum