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 07-04-2003, 10:53 PM   PM User | #1
MisterB
New to the CF scene

 
Join Date: Jul 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
MisterB is an unknown quantity at this point
What is wrong with my htaccess file?

I placed this in one of my folders, and I placed the .htpasswd file where it is listed, and I get an internal server error when i try and access any file in that folder, or the folder itself:

AuthUserFile /home/MisterB/.htpasswd
AuthGroupFile /dev/null
AuthName Enter Code
AuthType Basic

require user misterb




What am I doing wrong?

EDIT:

When I switched out that htaccess file with this one below, I got a pop up box request for username/password, but I didn't give it a password!

AuthType Basic
AuthUserFile .htpasswd
AuthName "Register"
require user misterb



I'm confused how this is supposed to work.

Last edited by MisterB; 07-04-2003 at 11:00 PM..
MisterB 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 10:14 AM.


Advertisement
Log in to turn off these ads.