We have a live site at a clients datacenter, we need to setup a second site for development purposes on a temporary basis.
Site is accessed through load balancer, security restrictions on the LB prevent me from setting up another hostname and creating vhosts, and I did try to setup a second site in the site.com/~user fashion.
So in short I need to setup a second site. I did try to setup the site in the following fashion
However, with this approach the following problem arises.
The two sites are identical and the vhosts file for the original site contains the following entries amongst similar entries:
Alias /custom/images /site1/client/xyz/images
Alias /js_includes /site1/core/js_includes
When I do access site 2 which is basically a subfolder of site1, site2 does fetch the js scripts and other include code from the folders of site1, this makes site2 unusable for development.
I need a way so that I can exclude site2 from the Alias entries of site1 or a way to force site2 to use it's own code using some server side method.
I know this might sound ridiculous, but it is a vacation emergency and I need to find a workaround untill the vacations are over.