The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
.httaccess help
i want to make a .htaccess with a password for a folder but when i do it it wont work
this is what i have for .htaccess and .htpasswd .htpasswd Code:
shady:mypassword Code:
AuthUserFile /my/full/path/to/.htpasswd AuthName Shady AuthType Basic require valid-user |
#2
|
||||
|
||||
you could add a 'AuthGroupFile /dev/null' after AuthUserFile i think, also, make sure you hit enter after typing the userass bit in the .htpasswd file. the code looks right from here though...
|
#3
|
||||
|
||||
i only had one line in the pass bit. ill try adding a blank line if thats what you mean
|
#4
|
||||
|
||||
Is your password in .htpasswd MD5 encrypted?
Also, what's not working? Is the htaccess window showing up at least? But the password's just not working? |
#5
|
||||
|
||||
|
#6
|
||||
|
||||
Quote:
no it was not encrypted i just went to the link that was given to me and got an encrypted pass. |
#7
|
||||
|
||||
.htaccess for folder blocking should read:
Code:
AuthUserFile *PATH TO .htpasswd* AuthGroupFile /dev/null AuthName ByPassword AuthType Basic <Limit GET POST> require user *USERNAME LISTED IN .htpasswd* </Limit> |
#8
|
||||
|
||||
mine looks like this
Code:
AuthUserFile /full/path/to/.htpasswd AuthGroupFile /dev/null AuthName "Private Area" AuthType Basic <Limit GET POST> require valid-user </Limit> |
#9
|
||||
|
||||
yup, that's fine. didn't know you hadn't used md5 for your pass though, and i'm pretty sure that it needs an empty line after it... pretty sure anyway hehe
|
#10
|
||||
|
||||
Quote:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|