View previous topic :: View next topic |
Author |
Message |
bigben -
Joined: 14 Apr 2004 Posts: 4 Location: BULGARIA
|
Posted: Wed Apr 14, 2004 8:27 pm Post subject: ACCESS page on Abyss?!?!?!?! |
|
|
Hi I use this server, but I wanna make SOME DIRs not accessable for NOT users. I read carefully the help file but I can't make what I want!?!?
There is sad:"Make a user/pass assign DIR and VOALA" Good buh WHERE these user/pass strong to enter and go to the THAT directory
Please send me HELP here AND on my email !!!
bigben_club@mail.bg
THANKs |
|
Back to top |
 |
 |
olly86 -
Joined: 25 Apr 2003 Posts: 993 Location: Wiltshire, UK
|
Posted: Wed Apr 14, 2004 8:56 pm Post subject: |
|
|
You might want to check your spelling, as I can't understand your post _________________ Olly |
|
Back to top |
|
 |
Foxified -
Joined: 13 Apr 2004 Posts: 487 Location: Canada
|
Posted: Wed Apr 14, 2004 9:00 pm Post subject: |
|
|
go to advanced in the control window thingy of abyss(127.0.0.1:9999(on mine)) go to SSI, go add a directory, then add a account which can access it, that password protects it, well, thats all I could think of, I couldnt understand either =.- |
|
Back to top |
|
 |
nquin321 -
Joined: 29 Jan 2004 Posts: 296 Location: Right Behind You
|
|
Back to top |
|
 |
bigben -
Joined: 14 Apr 2004 Posts: 4 Location: BULGARIA
|
Posted: Wed Apr 14, 2004 11:59 pm Post subject: :)) |
|
|
I do this make a User/Group with a password, define a virtual path and discribtion.
ex. http://bigben/SECURE/ is the protected DIR
If I am in http://bigben/ and wanna to go to that DIR the server WANTs a pass I enter it (but it wants it 3 time) and they refuse my request.
I tried this:
<?php
Header("WWW-Authenticate: Basic reaml='index.php'");
Header("HTTP/1.0 401 Unauthorized"); ?>
same effect
HOW TO PROTECT A DIRECTORY???
PS
I'м bulgarian and MAY have same mistakes in myy ENG - sorry!!! |
|
Back to top |
 |
 |
Foxified -
Joined: 13 Apr 2004 Posts: 487 Location: Canada
|
Posted: Thu Apr 15, 2004 4:47 am Post subject: |
|
|
perhaps give your server address?
1.Login to your server console.
2.click server configuration, click advanced
3.Go to users and groups
4.click user top, add, choose name, password, press ok.
5.click access control. click add
5.In virtual path, place
/secure
realm, place "restricted area"
(order allow/deny)
click the check box beside the user your going to allow access
6.Press ok.
7. go to alias's, click it
8.add a alias;enter teh alias you wish to use : /secure
Virtual path: /htdocs/folder-name-here-which-you-wish-to-protect/
9.restart
now try :
127.0.0.1/secure
alias will send you to the folder in which you asked it to which protected.
Enter correct password, and user name.
This should work, if you mixxed up something ,look, double check your work to guarantee you got it down, it should now work with the directory
Mandy- |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
|
Back to top |
|
 |
|