in reply to Re: Forcing REMOTE_USER
in thread Forcing REMOTE_USER

I'm having a problem with IIS then.

My script uses REMOTE_USER but checks to see if it exists beforehand. If it doesn't the script prints an error message. I've been running this script all day now, and sometimes REMOTE_USER is set, and other times it isn't.

I'm using IIS with Integrated Windows Authentication and anonymous access with a specified user ID.

Any ideas what's going wrong?

A

Replies are listed 'Best First'.
Re: Re: Re: Forcing REMOTE_USER
by fraktalisman (Hermit) on Mar 10, 2004 at 23:35 UTC
    I'm still not sure what you want to do.
    If you don't need authentication, disable checking for the variable. And if you have another auth mechanism apart form .htaccess then use it, maybe you don't need remote_user either? And anyway, do you _have_to_ use IIS? usually microsoft servers are more expensive than open source, and what advantage does IIS give you over apache?