Search found 19 matches

by winds
Mon Apr 23, 2012 6:32 am
Forum: Webhosting
Topic: Help - Password protecting directories
Replies: 16
Views: 3649

Re: Help - Password protecting directories

I just tripled checked it and went through all my directories making sure there isnt any other htaccess files, besides the one i made for error pages. I did notice on the password hash website provided, if I enter the same password twice, it gives me 2 different hashes? Are there multiple hashes for...
by winds
Sun Apr 22, 2012 5:08 pm
Forum: Webhosting
Topic: Help - Password protecting directories
Replies: 16
Views: 3649

Re: Help - Password protecting directories

Hmm, do you have any ideas why it wouldn't be working?
by winds
Sun Apr 22, 2012 10:41 am
Forum: Webhosting
Topic: Help - Password protecting directories
Replies: 16
Views: 3649

Re: Help - Password protecting directories

When logging into the directory, with those files, my login details would be:
Username: admin
Password: the password I typed in to get hashed, not the actual hashed password, right?

I don't know what else I could be doing wrong. Tried many times without success.
by winds
Sun Apr 22, 2012 9:37 am
Forum: Webhosting
Topic: Help - Password protecting directories
Replies: 16
Views: 3649

Re: Help - Password protecting directories

Ahhh right, haha, my bad!

htaccess

Code: Select all

# Access file
order allow,deny
allow from all
require valid-user
Authname "DirectoryName"
Authtype Basic
AuthUserFile /usr/www/website/admin/.htpasswd
htpasswd

Code: Select all

admin:ghfN47dN7cEUo
by winds
Sun Apr 22, 2012 5:18 am
Forum: Webhosting
Topic: Help - Password protecting directories
Replies: 16
Views: 3649

Re: Help - Password protecting directories

No problemo,
I had to rename them to .txt to upload them, but in the ftp theyre renamed to .htaccess and .htpasswd. I also edited just the FTP login part and the directory, to avoid problems, but they are indeed correct on my ftp.

htaccess
htpasswd
by winds
Sat Apr 21, 2012 1:42 pm
Forum: Webhosting
Topic: Help - Password protecting directories
Replies: 16
Views: 3649

Re: Help - Password protecting directories

Hm, so it seems I did everything correctly. Any idea why I wouldn't be able to log in successfully?
by winds
Fri Apr 20, 2012 8:21 pm
Forum: Webhosting
Topic: Help - Password protecting directories
Replies: 16
Views: 3649

Re: Help - Password protecting directories

Okay I was able to generate a normal hash and not an MD5 hash. I uploaded that to my .htpasswd and tried to access the directory again, but it still didn't work. I used the login info I made and it still sent me to my error page. Not quite sure what i'm doing wrong at this point. In the .htaccess, f...
by winds
Fri Apr 20, 2012 4:41 pm
Forum: Webhosting
Topic: Help - Password protecting directories
Replies: 16
Views: 3649

Re: Help - Password protecting directories

Thanks,
However now I seem to be locked out of the directory haha. Anytime I try to go to it, it takes me to my error page.
If I disable the .htaccess and .htpasswd files then I can access it, but while theyre enabled it wont let me.
by winds
Fri Apr 20, 2012 3:38 pm
Forum: Webhosting
Topic: Help - Password protecting directories
Replies: 16
Views: 3649

Help - Password protecting directories

Hey guys, I am following the instructions here: http://www.nfoservers.com/forums/viewtopic.php?f=19&t=3736 however I must have done something wrong and can't figure out what. After following those instructions I attempted to login to my password protected directory, but instead it brought me to ...
by winds
Fri Apr 20, 2012 3:33 pm
Forum: Webhosting
Topic: Help - Creating Custom Error Pages
Replies: 13
Views: 3712

Re: Help - Creating Custom Error Pages

Yeah I definitely would have never figured that out haha. Thanks Brendan for recommending I post here. Very useful!
by winds
Fri Apr 20, 2012 2:16 pm
Forum: Webhosting
Topic: Help - Creating Custom Error Pages
Replies: 13
Views: 3712

Re: Help - Creating Custom Error Pages

Ahhh thanks so much John, that was indeed my problem. Works like a charm now :D
Cheers!
by winds
Fri Apr 20, 2012 2:07 pm
Forum: Webhosting
Topic: Help - Creating Custom Error Pages
Replies: 13
Views: 3712

Re: Help - Creating Custom Error Pages

Hm sorry, im not typically a mac user, only using it since my PC is currently packed away for a move. The text editor im using only allows me to save in: RTF, HTML, Word Format, and Word XML Format. Are any of those the correct file type? Edit: Sorry, there was a setting within the text editor to sa...
by winds
Fri Apr 20, 2012 2:03 pm
Forum: Webhosting
Topic: Help - Creating Custom Error Pages
Replies: 13
Views: 3712

Re: Help - Creating Custom Error Pages

I am using mybb forum software and that comes with an htaccess.txt file. However when opening that it says to use it, you need to rename it to .htaccess, so im assuming that file isnt being used?

There is another .htaccess file in my forum/inc/ directory protecting a config file.
by winds
Fri Apr 20, 2012 2:02 pm
Forum: Webhosting
Topic: Help - Creating Custom Error Pages
Replies: 13
Views: 3712

Re: Help - Creating Custom Error Pages

Yeah I am using a mac so with my text editor it saved as htaccess.rtf
I uploaded it using FileZilla FTP and renamed it to .htaccess
by winds
Fri Apr 20, 2012 1:55 pm
Forum: Webhosting
Topic: Help - Creating Custom Error Pages
Replies: 13
Views: 3712

Re: Help - Creating Custom Error Pages

I just tried linking to the file in my browser and the file is indeed there. I also tried editing the .htaccess file with http://www.mysite.com/error/404.php where mysite is my actual url. However the same problem still persists. My board suddenly becomes inaccessible, being replaced by an Internal ...