Hello all,

I have a PHP content management system,  Drupal on a apache 2.2
server. For the moment we use a Drupal add on that uses the
webserver's own authentication. So I have set up apache basic auth,
and Drupal asumes that whenever a request comes with the "REMOTE_USER"
variable set, the user is authenticated, and uses the value of
REMOTE_USER to determine who it's talking with.

Now for test purposes I want to offer a way to look at the site as non
authenticated users would see it, but without (for now) removing the
authentication. As the website is still under development I don't want
to allow unauthenticated access yet.

I thought I could do that by just have Apache remove the REMOTE_USER
header. like this:

UnsetEnv REMOTE_USER

However, this does not work.

Also setting REMOTE_USER to something else doesn't work either.
Setting other variables works though.

What are my options here? How can I remove REMOTE_USER?

Krist

-- 
krist.vanbes...@gmail.com
kr...@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to