Quote:
Originally Posted by sockwater
I just tested with junctions as well. Apache reads them just fine. Use this command, after downloading junction.exe from Microsoft.
Code:
junction -s newvbdir oldvbdir
newvbdir will now be a symlink to oldvbdir, including all files and directories recursively. It seems to work the same way as a hard link, if you change the contents of either file it changes the other.
The bottom line is both junctions and hard links should be tested to see if the opcode caching only caches one copy of the file or multiple copies.
|
I tried this first. It seems as if the cache sees just one copy, thus theorically it would work. Practically however you can't use it for vBulletin because of the configuration file which can't be separated with junctions. junctions would make sense though if you had your board files in a different disk or folder - which may become handy when moving a site.
Now I'll try the fsutil solution.