Prevent virtual host on same server interact on apache

Posted by soosooo on Pro Webmasters See other posts from Pro Webmasters or by soosooo
Published on 2012-06-04T01:20:23Z Indexed on 2012/06/04 4:48 UTC
Read the original article Hit count: 452

Filed under:
|

good day

i Have a vps apache 2.0 webserver, with multiple domains and multiple ips set.

In document root :/var/www/html/ --> i have http:// serverA.com

and i create virtual host on folder :/var/www/html/serverB ---> http:// serverB.com

They work great for both. but the problem is, i can access serverB files with url http: // serverA.com/ serverB / (which i dont want that happen)

how to prevent that ?

thx in advance

© Pro Webmasters or respective owner

Related posts about apache

Related posts about virtualhost