I was directed by my supervisor to allow only a specific IP address
and a link from another web site to be able to login to our Web site.
If a user other than with IP 167.893.2.1 logs in directly to our Web
site (https://abcdef.opqr.navy.mil), it will automatically redirect it
to the other site (https://cdef.lmnopq.navy.mil) and will now be able
to login. But the user with the IP address 167.893.2.1 can login
directly. I try to solve this by editing the httpd.conf by inserting
Options Indexes FollowSymLinks MultiViews
Allow from 22.214.171.124
Allow from 167.893.2.1
ErrorDocument 403 https://cdef.lmnopq.navy.mil
The user with IP 167.893.2.1 was able login directly but the user who
try to connect using the web site with IP address of 126.96.36.199
cannot log-in because the system is looking at the original IP address
167.893.2.1) of the user not the linking web site with IP
188.8.131.52. (see the access logs).
This is the access logs:
167.893.2.1 - esmith [03/Jan/2003:11:20:36 -0500] "GET
/html/mypage.html HTTP/1.0" 200 1234 "https://cdef.lmnopq.navy.mil/"
[en] (Win98; U)"
123.456.7.8 - - [07/Jan/2003:11:52:22 -0500] "GET / HTTP/1.0" 304 287"
n=browse&sort=name" "Mozilla/4.7 [en] (Win95; U)"
Thanks for any help.