Version: , by Kevlar
Developer Last Online: Apr 2017
Version: Unknown
Rating:
Released: 03-13-2006
Last Update: Never
Installs: 0
No support by the author.
How do large boards handle attachments? Right now I have about 7GB of attachments in my file system. I was just curious how others deal with this issue. Especially if you have more than one web server...
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
It's actually easier than it looks - make sure subdomains are included in the cookie, then have an attachment server that runs a strip down vbulletin with just attachment.php, global.php and some include files, modify attachment.php, modify the attachment templates to point to the subdomain for the attachment server, and you're done.
Thanks for the insight... I'm going to have to try this today and see if it helps lessen the load on my primary server (as it's currently buckling).
But they are within the same network and for the same site - Jelsoft allows that
I want to somehow run a second server same members same site name linked to the present server for storage and upload/download uses.storage for the site.
It's actually easier than it looks - make sure subdomains are included in the cookie, then have an attachment server that runs a strip down vbulletin with just attachment.php, global.php and some include files, modify attachment.php, modify the attachment templates to point to the subdomain for the attachment server, and you're done.
Can you post a step by step way to do this????
thanks
AdminCP => Options => Cookies => Cookie-Domain
set it to .yourdomain.com - with the two dots!!!
setup a subdomain called attachment.yourdomain.com (in my case this is located on the same server as my master-webserver, so I don't have to deal with the attachment path)
Whats the way when there two different servers (with different IP)???
you must have a look at your attachment (absolute) path: this must match the path on your attachment server and NOT on your webservers.
example:
your webservers directory structure is: /home/users/forum/htdocs/www for the php files /home/users/forum/htdocs/attachments for the attachments
but your attachment server has the following structure: /home/sites/attachments/htdocs/www for the php files /home/sites/attachments/htdocs/attachments for the attachments
hi currently i am hosting on a friend's server. He has given me some space and i also have a server with the shared host Servage.
Re: Scotty's Server Attachments
At the moment my website is on the server. at domainName.COM
I wish to have my attachments on the Servage Server. as it has a lot of diskspace and bandwidth.... Perhaps under my domainName.NET address. Understand?
If there are vbulletin license issues, i am willing to purchase a second copy. Although i have nothing at all at the .net address.. it will be simply to host the files. for my website.
What changes would i need to make to the cookies and the other settings to implement this? If you can help me out Scotty or anyone else, it would be really great and special thanks.