![]() |
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 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. |
Don't forget what you have to do with the config files.
|
Quote:
Now I'll try the fsutil solution. |
Quote:
|
I've tried now both systems (junction, fsutil) on a clean test environment. Both systems are not cached once, but as if they were separate files. A clean 3.7.0 installation and copy produce each about 2.55 MB of uncompressed eAccelerator cached files on forum home (index.php).
|
Well, if they are not caching in your windows environment, I don't see much of a point other than speedier upgrades. Getting Linux of course would solve all of this for you. ;) (Couldn't resist)...
|
This mod is great :)
|
This utility automates the use if fsutil on Windows Servers. It has been tested on XP Pro and Windows Server 2003, and comes with the full source for Visual Basic 6.0.
Please try it first on a test environment and make a backup before linking the files. I will not assume any responsibility for your test and/or production environment! Use on your own risk. |
Quote:
|
very interesting. will try it.
|
this seems amazing, I'm just starting to understand its full extents.
By the way, I'm studying the integration of two boards. They are on separate webservers and I plan to have independents database servers for each of them. It seems this mod can help me combine both webservers so both boards can use one logical webserver which is the load balancing between the current ones, but won't help me integrate users and passwords since DBs will still be on separate machines, am I right? |
Yes, that is correct. This will really do nothing as far as integration goes.
|
Quote:
|
Yes, you can add them.
|
When referring to Windows, are we referring to Windows running IIS or Apache (or is it not relevant)? If Apache, would using the alias command work?
Alias "/site1/forums" "C:/htdocs/forums" Alias "/site2/forums" "C:/htdocs/forums" Alias "/site3/forums" "C:/htdocs/forums" Has anyone tried NtFS link? http://sourceforge.net/project/platf...roup_id=161885 linkd? http://support.microsoft.com/kb/205524 |
NTFS Link creates hardlinks and junctions and linkd creates junctions. Both of these have been confirmed to not work. Well, they work but they are cached as if they were separate files.
|
Yeah, I doubt there is a Windows solution that will offer any cache relief. Of course, you could always go Linux, but who wants to start that discussion!
|
Quote:
|
If it happens with the big three opcode cache methods, I would then think it was something native with Windows. I dunno, not a .dll head here.. :)
|
Just wondering, are users/members of each forum independent? Or are they linked?
|
Quote:
|
So you have to use windows to get this to work? Does it work apache? Or litespeedtech?
|
Quote:
|
Quote:
|
can you it's for single forum on my VPS?
is it can use for 3.6.x ? will it speed up 4room? sorry my bad english |
Quote:
|
Quote:
|
So if all your sites don't use photoplog for example, you would just leave photoplog files in the original forums directory?
Edit: Just went through with it. Doesn't seem to work with 3.8. It doesn't like including the config.php or something. I always get this error: Configuration: includes/config.php exists, but is not in the 3.6+ format. Please convert your config file via the new config.php.new. If I rename config_me.php (which is in configs folder) and put it in the includes folder as config.php it works. It's a 3.8 config file anyways. Not sure why $config = 0 and it's spitting that error. I'd be willing to pay you for your time to get this to work with 3.8. I was looking forward to streamlining all my vbulletin installs into one set of files, along with some of my mods. I'm not sure if Andy is moving to 3.8 anytime soon or not, so I don't know what your game plan is with that. |
I am not having any issue with it on 3.8.. Are you sure you have modified config.php correctly (as per the readme)? That is the only time I have ever seen that error is when config.php is incorrect.
|
Here is what I did:
Uploaded vBulletin into /home/vbcore/ (fresh files from vBulletin.com. 3.8.1) Created a folder called configs inside the includes which is inside /home/vbcore/ Copied my config.php from /home/evo/public_html/forum/includes/ into /home/vbcore/includes/configs/ and renamed it to config_me.php Uploaded config.php from your zip file to /home/vbcore/config.php and edited it as follows: PHP Code:
I then ran your php script and it created all the links. I then opened my site up and got that error. I know the config_me.php is fine, because its the same one I am using on my site right now. Plus, I renamed config_me.php to config.php and then placed it in /home/vbcore/includes/ overwriting your config.php. I then was able to get the site to load fine, using the DLS. It's just when I use your config.php to include the file do I get that error. |
I just tried this on another one of my vBulletin installs and got the exact same results. :(
|
Just in case anyone was wondering, I just successfully set this up under 3.8.4, and it runs perfectly fine. I'm still tweaking some things, but yeah, I'm good to go.
|
I wonder if this will work with my single sign on system. Got 4 forums right now and it's a pain to update all 4 forums even though all of them share the same DB.
They are all on different domains. I'm confused on how this works...but I will be testing it probably tomorrow. Awesome idea and mod BTW |
If they are on the same physical server (or cluster) then yes it will work.
|
All times are GMT. The time now is 12:53 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|