Gossamer Forum
Home : Products : Others : Fileman :

"Protect" doesn't work...?

Quote Reply
"Protect" doesn't work...?
Greetings

Firstly, great job with Fileman, porting it to the RaQ. It's about time someone looked after those of us with the little blue boxes. ;)

However, Protect seems to be failing. We move into a specific folder...it has an index file only in it...we enter a username:password to protect it with, and it reports that the user was added. However, that use cannot enter the secured folder.

Any tips?

Gary
Quote Reply
Re: [qldcouple] "Protect" doesn't work...? In reply to
Hi,

Is this with the RAQ version or the regular version? Also, what does the contents of the .htaccess and .htpasswd file that FileMan should have generated look like? Finally, the error log might hold some clues as to why the username/pass isn't working.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] "Protect" doesn't work...? In reply to
HI Alex,

The .htaccess and .htpassword files for raq's are slightly different, I havesent you a program which has them listed in the code by email.


Regards

Mark
http://www.host4.me.uk

No doubt i'll be back for more answers!
Quote Reply
Re: [mdj1] "Protect" doesn't work...? In reply to
>>The .htaccess and .htpassword files for raq's are slightly different,<<

Not in my experience. What have you found to be different?

Last edited by:

RedRum: Jan 7, 2002, 3:01 AM
Quote Reply
Re: [RedRum] "Protect" doesn't work...? In reply to
This is how the htaccess file looks for a raq.

"AuthType Basic\n";

"AuthName \"Password Protected Area\"\n";

"AuthUserFile $htpassfile\n";

"require valid-user\n";

"AuthPAM_Enabled off\n";

This is how it looks for unix,

"AuthType Basic\n";

"AuthName \"Password Protected Area\"\n";

"AuthUserFile $htpassfile\n";

"require valid-user\n";



This code is taken from a piece of directory passing software, and it specifically asks you if you are using a RAQ.

Regards

Mark
http://www.host4.me.uk

No doubt i'll be back for more answers!
Quote Reply
Re: [mdj1] "Protect" doesn't work...? In reply to
Everything is the same as a normal .htaccess except fot

"AuthPAM_Enabled off\n";

....but that isn't needed on some raqs. You must have a raq3?
Quote Reply
Re: [RedRum] "Protect" doesn't work...? In reply to
Hi,

No A RAQ4 and this is what Alex has been testing the .pkg on, I will check out the authentication on my box, as this has the original install that Alex tested it on, maybe its, RAQ# dependent.

What RAQ are you using?


Regards

Mark
http://www.host4.me.uk

No doubt i'll be back for more answers!
Quote Reply
Re: [mdj1] "Protect" doesn't work...? In reply to
I used to use a Raq4r which would accept normal htaccess configuration. AuthPAM wasn't needed.
Quote Reply
Re: [RedRum] "Protect" doesn't work...? In reply to
HI,

Checked it on my RAQ4 and it works fine.
Regards

Mark
http://www.host4.me.uk

No doubt i'll be back for more answers!
Quote Reply
Re: [mdj1] "Protect" doesn't work...? In reply to
Hi,

The AuthPAM_Enabled Off directive tells Apache not to accept system login passwords.

I just tested this out, and as long as you specify AuthUserFile and AuthGroupFile, PAM isn't going to be used anyway, so that shouldn't matter.

Really, we need to see what's in the error log. =)

Cheers,

Alex
--
Gossamer Threads Inc.