I need to install a second web application site on a web server and hide the fact that's the same server to user.
So far, I have a web app XYZ that you can access via XYZ.com and which is located on the server somewhere like /var/www/ I need to add another webapp ABC which is located /var/www/abc/ and only permit access to people using the ip address.
i.e :
www.XYZ.com --> XYZ ( /var/www/ )
1.2.4.199 --> ABC ( /var/www/abc )
I've absolutely no clue how to do that with htaccess. Any help is more than welcomed !
Cheers