How can I have the following setup in apache?
http://server/ABC/* should be served by /var/www/ABC/*
http://server/ABC/*
/var/www/ABC/*
http://server/P
Use Alias:
Alias /ABC/ /var/www/ABC/ Alias /PQR/ /var/www/PQR/
Leave the document root pointing to /var/www/Others/index.php. It could do the trick. :)