View previous topic :: View next topic |
Author |
Message |
Devileyezz -
Joined: 18 Aug 2005 Posts: 29
|
Posted: Tue Oct 04, 2005 3:02 am Post subject: Directory listing on passworded directories. |
|
|
Hello,
I've tried and tried, and I'm sure I'm missing SOMETHING.
I have different folders, and now using the "Directory Listing" option to "Disabled".
This doesn't allow any of my folders to be listed, and instead it's a 403 forbidden.
Now, there are some directories that I want to be listed, but at the same time, I want them to be passworded.
But also, for testing purposes, I wanted to have another directory listed without any password protection.
I also put Directory listing to Standard listing, and then went to Scope (Allow/Deny format) and added the dirs that I wanted listed, one passworded, and one not.
But seems like every though that's done, it still lists every directory, and asks for a password for the passworded directory. My focus is to not list every directory, unless it's in the Scope -> allow for section, and/or password is supplied.
How do I go about this?
Remember, there are most dirs that I don't want listed. But some that I want, some passworded, and some not.
Thanks. |
|
Back to top |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Tue Oct 04, 2005 9:16 am Post subject: |
|
|
403 is just to show that directory listing has been forbidden. There is no official error for it, so 403 it is.
Try disallowing all (Or *, can't remember how abyss looks off hand.) and allowing the ones you do want. _________________
 |
|
Back to top |
 |
 |
Devileyezz -
Joined: 18 Aug 2005 Posts: 29
|
Posted: Tue Oct 04, 2005 2:42 pm Post subject: |
|
|
MonkeyNation wrote: | 403 is just to show that directory listing has been forbidden. There is no official error for it, so 403 it is.
Try disallowing all (Or *, can't remember how abyss looks off hand.) and allowing the ones you do want. |
Thanks for your help, but I suggest you read.
I have no problem with the 403; it's just so everyone knows.
And if you notice, I did point out that I did disallow all by initially setting "Directory Listing" to "Disabled" and allowing the ones I want in the "Scope".
Didn't work. :) |
|
Back to top |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Tue Oct 04, 2005 2:53 pm Post subject: |
|
|
Devileyezz wrote: | MonkeyNation wrote: | 403 is just to show that directory listing has been forbidden. There is no official error for it, so 403 it is.
Try disallowing all (Or *, can't remember how abyss looks off hand.) and allowing the ones you do want. |
Thanks for your help, but I suggest you read.
I have no problem with the 403; it's just so everyone knows.
And if you notice, I did point out that I did disallow all by initially setting "Directory Listing" to "Disabled" and allowing the ones I want in the "Scope".
Didn't work. :) |
Setting directory listing to disabled kills the whole thing. You'll need to enable it and then where you enter the ones you want to specifically block, block * and allow the ones you want. _________________
 |
|
Back to top |
 |
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Oct 04, 2005 5:06 pm Post subject: |
|
|
MonkeyNation wrote: |
Setting directory listing to disabled kills the whole thing. You'll need to enable it and then where you enter the ones you want to specifically block, block * and allow the ones you want. |
And then configure password access to those that are not public. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
Devileyezz -
Joined: 18 Aug 2005 Posts: 29
|
Posted: Wed Oct 05, 2005 4:05 am Post subject: |
|
|
Ok, I thought so. So, I enabled it to "Standard Listing" and then went to "Scope" and put it as "Allow/Deny" and then in the "Allow for" list, I added the URLs that I wanted to be allowed - 1 passworded, and 1 not.
Allow/Deny denies everything by default, but allows anything that's in the allow list.
And it still doesn't work.
Thanks guys. :) |
|
Back to top |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Wed Oct 05, 2005 10:18 am Post subject: |
|
|
Devileyezz wrote: | Ok, I thought so. So, I enabled it to "Standard Listing" and then went to "Scope" and put it as "Allow/Deny" and then in the "Allow for" list, I added the URLs that I wanted to be allowed - 1 passworded, and 1 not.
Allow/Deny denies everything by default, but allows anything that's in the allow list.
And it still doesn't work.
Thanks guys. :) |
Actually, no. I would say Deny/Allow. _________________
 |
|
Back to top |
 |
 |
Devileyezz -
Joined: 18 Aug 2005 Posts: 29
|
Posted: Wed Oct 05, 2005 1:02 pm Post subject: |
|
|
And it won't matter if there's nothing in the "Deny for" list? |
|
Back to top |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Wed Oct 05, 2005 1:25 pm Post subject: |
|
|
Devileyezz wrote: | And it won't matter if there's nothing in the "Deny for" list? |
Don't think so. If that doesn't work, add * to the deny list. _________________
 |
|
Back to top |
 |
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Oct 05, 2005 1:57 pm Post subject: |
|
|
Devileyezz,
Can you please send your abyss.conf file to support@aprelium.com (please do not forget to tell us exactly what are the protection/listing rules you want to set). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
Devileyezz -
Joined: 18 Aug 2005 Posts: 29
|
Posted: Wed Oct 05, 2005 2:06 pm Post subject: |
|
|
Ok, I tried and it doesn't work. :-(
Directory Listing = Standard listing
Scope:
Order: Deny/allow
allow for: URLS that I want to be allowed
deny for: *
It still doesn't work. :( |
|
Back to top |
|
 |
Tom Chapman -
Joined: 09 Jul 2005 Posts: 933 Location: Australia
|
Posted: Wed Oct 05, 2005 2:15 pm Post subject: |
|
|
Have you tried deleting the configuration file and starting over? =) |
|
Back to top |
|
 |
Devileyezz -
Joined: 18 Aug 2005 Posts: 29
|
Posted: Thu Oct 06, 2005 3:33 am Post subject: |
|
|
Since Abyss is a very good webserver, and so far I haven't seen a single problem with it... don't you think if something like this means deleting a conf file and starting over isn't really giving it the edge?
Big webservers have such functionality, and nothing makes anyone delete the whole conf file! It's got so many settings in it!
Anyway, if that's the last resort, lol, might as well.
But I'll wait for some more word. |
|
Back to top |
|
 |
Devileyezz -
Joined: 18 Aug 2005 Posts: 29
|
Posted: Thu Oct 06, 2005 4:04 am Post subject: |
|
|
I think I know why this is happening.
The changes are not really becoming changes after every restart, why?
I mean, I added a virtual link in the deny to, and it worked. And then, removed it.. but it's still working. I mean, after I removed it, it should go back to normal.. but it isn't.
Also, I stopped the service AND the server on the console, and I can still access my website. Why?
I think it has more to do with actually working with the settings on the run rather than just not working.
How come NO ONE has gotten this problem before?
PS: Just wanted to add, I see two instances of abyssws.exe running. Is one the service and one the actual server? Do I even need two? Which one is more preferable to run? Do you think this has anything to do with all this? |
|
Back to top |
|
 |
Devileyezz -
Joined: 18 Aug 2005 Posts: 29
|
Posted: Thu Oct 06, 2005 4:29 am Post subject: |
|
|
lol, so I stopped the service. (But there's still two abyssws.exe on the processes list)
And I removed everything (Including the default / that was in the Allow for list in Scope) and started fresh.
And now it works. It has only the two dirs, and no * or anything in the deny to list.
And it's GREAT!
Thanks a lot!
All it needed was a little fingering, I guess. :D |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Thu Oct 06, 2005 6:05 am Post subject: |
|
|
One abyssws.exe process is to monitor for crashes and the other is to run
the server process , please use the Search next time and you will find your
answer much quicker than me typing up this reply for you. LateR!
Sincerely , TRUSTpunk |
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Thu Oct 06, 2005 8:59 am Post subject: |
|
|
Devileyezz wrote: | lol, so I stopped the service. (But there's still two abyssws.exe on the processes list) |
If you stopped the Abyss service via the Windows Control Panel and there are still two Abyss processes in the process list, it would be worth checking that you haven't either installed Abyss twice, or started Abyss running as an application, then a service / vice versa... _________________
"Invent an idiot proof webserver and they'll invent a better idiot..." |
|
Back to top |
|
 |
Devileyezz -
Joined: 18 Aug 2005 Posts: 29
|
Posted: Thu Oct 06, 2005 2:00 pm Post subject: |
|
|
Anonymoose wrote: | Devileyezz wrote: | lol, so I stopped the service. (But there's still two abyssws.exe on the processes list) |
If you stopped the Abyss service via the Windows Control Panel and there are still two Abyss processes in the process list, it would be worth checking that you haven't either installed Abyss twice, or started Abyss running as an application, then a service / vice versa... |
Hmm, I thought the same too. The one in tray might be one abyssws.exe, and the other is probably the service. Do we need only one? And if so, which one is preffered, Anonymoose?
Thanks. :) |
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Thu Oct 06, 2005 2:05 pm Post subject: |
|
|
You're misunderstanding slightly - when Abyss is running correctly, there *should* be two processes in the list. As mentioned above, one is the actual server, the other is responsible for the whole anti-crash thing.
What I was saying is that if you have *stopped* the Abyss service via the Windows control panel - not just stopped the server in Abyss console, it should have ceased to run - there would be 0 Abyssw processes shown. If you have done this and there is still Abyss processes in the process list, I was suggesting that as well as running the service, you were also running Abyss as an application. I imagine this could have some strange effects in terms of changes not taking effect when you expect them to, as you mentioned above.
As to which is preferred, it depends what you want to do with your server :) _________________
"Invent an idiot proof webserver and they'll invent a better idiot..." |
|
Back to top |
|
 |
Devileyezz -
Joined: 18 Aug 2005 Posts: 29
|
Posted: Fri Oct 07, 2005 2:02 am Post subject: |
|
|
Oh, wow ok.
As to which is preffered, can one do the job of both? Like I'd like service better. But no tray icon. |
|
Back to top |
|
 |
|