vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   .httaccess help (https://vborg.vbsupport.ru/showthread.php?t=54448)

S.Shady 06-17-2003 06:17 PM

.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
.htaccess
Code:

AuthUserFile /my/full/path/to/.htpasswd
AuthName Shady
AuthType Basic
require valid-user

is this code right ?

base 06-17-2003 07:08 PM

you could add a 'AuthGroupFile /dev/null' after AuthUserFile i think, also, make sure you hit enter after typing the user:pass bit in the .htpasswd file. the code looks right from here though...

S.Shady 06-17-2003 07:21 PM

i only had one line in the pass bit. ill try adding a blank line if thats what you mean

Gary King 06-17-2003 07:25 PM

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?

Xenon 06-17-2003 07:44 PM

http://www.clockwatchers.com/htaccess_tool.html

maybe this nice site could help ya :)

S.Shady 06-18-2003 12:02 AM

Quote:

Today at 04:25 PM Gary W said this in Post #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?


no it was not encrypted i just went to the link that was given to me and got an encrypted pass.

Cloudrunner 06-18-2003 12:31 AM

.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>


S.Shady 06-18-2003 12:52 AM

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>

is this ok ? because it seams to work

base 06-18-2003 12:56 AM

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

Gary King 06-18-2003 12:59 AM

Quote:

If it works, don't fix it.

Cloudrunner 06-18-2003 01:14 AM

Quote:

Today at 06:59 PM Gary W said this in Post #10
quote:
If it works, don't fix it.


Agreed ;)

Xyphen 06-25-2003 11:21 AM

yay this thread helped me protect my boards through .htaccess, thanks guys!


All times are GMT. The time now is 07:46 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01060 seconds
  • Memory Usage 1,732KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete