I migrated an application from one server (that uses Netscape web server) to another server that uses apache web server. The entire application is written in Perl.

The application is asking username and password while entering into the application. But the application needs to display the user name. It was working fine in the old server (Netscape web server) but not here. The application (in apache) is NOT displaying the user name. The "$ENV[REMOTE_USER]" is not returning the expected user name. Where might be the problem?

Is it due to Netscape/apache server difference or should i configure anything in the apache's conf files?

Please help me in this regard. Any other pointers would be helpful.