You are right. That's the XOR codition I was looking for. So I declare something like But what keeps me still thinking is how do I query the db for user/passw the easiest way? I will have to authenticate between 500 and 1000 users. So I don't want to put them into a text file. Besides I need flags for the expiration of the accounts. This task screams for db. I suppose. :o) What would you do? -Pete -- Echte DSL-Flatrate dauerhaft für 0,- Euro*! "Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl --------------------------------------------------------------------- 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-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx