It is possible to method to mimic symlink behavior by having an apache configuration?
For instance, from
/var/www/someFolder/ I have to reference files in
/var/www/anotherFolder/ but get it done without needing relative pathways (because I am using subdomains) or absolute pathways.
Note: Symlinks work however they don't deploy well from git and from the demo site. I'd think an apache configuration is a lot more deployable then a large number of symlinks
It is possible to way? With htaccess? With ServerAlias? etc...
Basically understood your question properly then following code inside your .htaccess should work fine:
Options +FollowSymlinks -MultiViews RewriteEngine on RewriteRule ^someFolder/(.*)$ anotherFolder/$1 [L,NC]
By doing this a URI of
http://domain.com/somefolder is going to be internally referencing files from
/anotherFolder/ folder this provides you with an effect of symlink without creating a real symlink.