Forum Moderators: phranque

Message Too Old, No Replies

Apache authorization in Windows

         

tntpower

1:44 am on Sep 26, 2006 (gmt 0)

10+ Year Member



Hi folks,

I wonder if I can do the following in a Windows 2000 server with apache 2.x installed.

I have an application and it has a login page (login.php). There are two user groups, admin and user in that application. I want people from specific IPs can login into the application as admin without going to login.php first and typing username & password, and people from other specific IPs can login directly as users, as well.

If a visitor is from an IP not in the above specific IPs, then he is required to type his username & password at login.php.

Please note this is a windows server with php (5.x), mysql (4.x), and apache (2.x).

Thanks