|
-
Jun 12th, 2001, 11:28 AM
#1
Thread Starter
Junior Member
.Htaccess
I have the following set up in a .htaccess file running on an apache server:
AuthUserFile /passwords/.htpasswd
AuthGroupFile /dev/null
AuthName Admin
AuthType Basic
<Limit GET>
require user Admin
</Limit>
With the .htpasswd file in C:/Perl/web site/passwords/.htpasswd, but when ever i try to access the directory the username Admin, and the password set up with it doesnt work. Has anyone got any clue as to why?
Thanks
Sythe
-
Jun 12th, 2001, 04:28 PM
#2
As far as I know that the .htpasswd goes into the same place as .htaccess does. I am not sure of your paths but for example,,
/usr/www/web/mysite.com/.htpasswd
mine on windows version of apache would be
/Program Files/Apache Group/Apache/htdocs/mysite
it should be iun the default path of apache for your localhost address
does that help?
-
Jun 13th, 2001, 05:31 AM
#3
Thread Starter
Junior Member
Thanks for the reply, i am now unable to test this because the Htpasswd.exe i was using was a fake 
So could anyone please tell me where i can get myself a copy of the compiled Htpasswd.exe, or tell me how to compile it.
Someone told me i should already have a compiled version in my Apache\bin file, but i dont even have this file 
Thanks again
Sythe,
P.S im running apace on a windows system
-
Jun 13th, 2001, 10:05 AM
#4
what version do you have. I have a copy I can email you. I don't know if the version matter or anything. plus i don't know if it makes a difference as to what type of windows you are using. I have win98 with version 1.3.20 win32 version.
we could try it though, so let me know
-
Jun 13th, 2001, 02:45 PM
#5
Thread Starter
Junior Member
I have exactly the same, could you please e-mail it to [email protected]
Thanks a lot!
Sythe
-
Jun 13th, 2001, 03:04 PM
#6
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|