Connecting your apache to ebox is very easy and nice. Here is a config that will allow users coming from the ip-range 192.168.0.0, but demand user and password for everbody else. It will use ebox ldap for verifying the users.
First set upp Apache to use ldap auth. Install the ldap mod and make shure that Apache is using ldap in the mods-enabled folder.
<Location /> Order Deny,Allow Deny from all Allow from 192.168.0.0/24 AuthType basic AuthName "Login " AuthBasicProvider ldap AuthzLDAPAuthoritative off AuthLDAPBindDN "cn=admin,dc=ebox" <--- change to match your config AuthLDAPBindPassword "ebox2jadkljalksjdiais0" <-- change to match your config AuthLDAPURL "ldap://10.0.2.30:389/ou=Users,dc=ebox?uid" <-- change to match your config AuthLDAPGroupAttributeIsDN on Require valid-user Satisfy Any </Location>