[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] SiteAdmin .htaccess



I've got a password-protected directory set up; for authentication the
script is pulling straight out of /etc/passwd.
It looks like this:
#Access file
order allow,deny
allow from all
require valid-user
Authname MyDirectory
Authtype Basic

I *did* have this in the file beneath the authentication, but
commented it out and later took it out completely in an effort to fix
this funky behavior (didn't work):
#php_value include_path .:/home/sites/siteX/include_directory
#php_value magic_quotes_runtime off
#php_value magic_quotes_gpc off
#Options -Indexes

(SiteX is, of course, changed.)
The thing is, when I go from page to page within that directory, I
have to re-enter my password each time I change pages (or refresh).
I do *not* have 'remember my password' checked, but that shouldn't
matter. Once I'm authenticated I should be authenticated.
This is the only time I've seen this which leads me to suspect that
it's bluebox related.
Or is it that the authentication can be the *only* thing in the file??
That would suck, because I need to pass those other values there too.
Making a parent directory and giving it the php_values, then dropping
this folder into it with the authentication would work, but boy that
would make an ugly URL.  (I am a webmaster at heart and ugly URLs bug
me. *grin*)

In advance of questions:
1. Doesn't matter if it's normal html pages leading to other html
pages, or php pages leading to other php pages. Same annoying behavior
for both (which rules out the scripting).
2. 'Normal' .htaccess files pulling from htpasswd files work just like
they're supposed to. Just this one using the server's files does this.
3. Yes, any user on the server with a valid name/password combination
can get in to the directory.

Any ideas, suggestions?

CarrieB