Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-17-2004, 05:01 PM   PM User | #1
bazz
Master Coder

 
Join Date: Apr 2003
Location: in my house
Posts: 5,211
Thanks: 39
Thanked 201 Times in 197 Posts
bazz will become famous soon enoughbazz will become famous soon enough
htaccess woes :(

OK so I have created an htaccess file like this:


AuthUserFile /filepath/zips/.htpasswd
AuthGroupFile /dev/null
AuthName EnterPassword
AuthType Basic

require user publishers

and a htpasswd file like this

publishers:76/ytNYqTaaR.

The password has been obtained from the encrypter site (cant recall the domain name but it may be wrong). If I hit cancel, I get the 401 page but it shows the name of the file I was refused access to and that filename is correct.

Both files are in the folder that is to be password protected and I have checked with the ISP who tell me there are no issues with their set up to prevent the thing working.

when the dialogue box appears for entering the username and password, it just re-appears after clicking OK. I can't get access to the content of that folder.

Can anyone tell me why (ie what I'm doing wrong)?

Bazz
__________________
"The day you stop learning is the day you become obsolete"! - my late Dad.

Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
Useful MySQL resource
Useful MySQL link

Last edited by bazz; 11-17-2004 at 06:19 PM..
bazz is offline   Reply With Quote
Old 11-18-2004, 07:39 PM   PM User | #2
bazz
Master Coder

 
Join Date: Apr 2003
Location: in my house
Posts: 5,211
Thanks: 39
Thanked 201 Times in 197 Posts
bazz will become famous soon enoughbazz will become famous soon enough
Got it sorted. When looking for the filepath, I had looked at the error files of the wrong website. Doh!!

Bazz
__________________
"The day you stop learning is the day you become obsolete"! - my late Dad.

Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
Useful MySQL resource
Useful MySQL link
bazz is offline   Reply With Quote
Old 11-18-2004, 11:01 PM   PM User | #3
jettlarue2003
New Coder

 
Join Date: Nov 2004
Location: wisconsin
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
jettlarue2003 is an unknown quantity at this point
what kind of server u got?
__________________
Can you commentate bowling?
jettlarue2003 is offline   Reply With Quote
Old 11-18-2004, 11:03 PM   PM User | #4
jettlarue2003
New Coder

 
Join Date: Nov 2004
Location: wisconsin
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
jettlarue2003 is an unknown quantity at this point
because stuff like that has happened to me with apach for no apparent reason
__________________
Can you commentate bowling?
jettlarue2003 is offline   Reply With Quote
Old 11-18-2004, 11:03 PM   PM User | #5
jettlarue2003
New Coder

 
Join Date: Nov 2004
Location: wisconsin
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
jettlarue2003 is an unknown quantity at this point
*apache
__________________
Can you commentate bowling?
jettlarue2003 is offline   Reply With Quote
Old 11-19-2004, 05:17 PM   PM User | #6
chilipie
Senior Coder

 
chilipie's Avatar
 
Join Date: Jul 2004
Location: Shrewsbury, UK Age: 16
Posts: 1,117
Thanks: 0
Thanked 0 Times in 0 Posts
chilipie is an unknown quantity at this point
jettlarue2003 - Did you know that posts can be more than one line long? And that you can edit your posts if you make a spelling mistake?
chilipie is offline   Reply With Quote
Old 11-19-2004, 07:11 PM   PM User | #7
Lestat
New to the CF scene

 
Join Date: Nov 2004
Location: Wisconsin
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Lestat is an unknown quantity at this point
I'm having similar difficulty with htpasswd

I'm also having trouble with htpasswd. I can access the .htpasswd file, and output the contents of it in to a page. When I try to enter the dir that has the .htaccess I get the popup box. I enter the info, and it repeats 3 times before giving a 401.

I've searched forums, and read some apache docsets to no avail.
URL: http://tdurl.com/ag

Thanks for any help!
Lestat is offline   Reply With Quote
Old 11-20-2004, 08:06 PM   PM User | #8
bazz
Master Coder

 
Join Date: Apr 2003
Location: in my house
Posts: 5,211
Thanks: 39
Thanked 201 Times in 197 Posts
bazz will become famous soon enoughbazz will become famous soon enough
well I ain't an expert but if you post your .htaccess code (Hope there isn't a security risk in doing that), it may show up what's wrong. two questions though.

did you encrypt your password?
Have you defo got the filepath correct?

bazz
__________________
"The day you stop learning is the day you become obsolete"! - my late Dad.

Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
Useful MySQL resource
Useful MySQL link
bazz is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 08:26 PM.


Advertisement
Log in to turn off these ads.