Hi, I'm currently trying to setup a multi server setup here and I was wondering if anybody has any experience in saving the /site/assets/files to a different server,
currently I have a front-end templates server, a backend mysql server and a fileserver setup, I'm trying to implement PW into this flow, anybody has done this before?
Kind regards!
Save files assets different server
Started by recyclerobot, Jun 10 2012 02:35 PM
server files assets
2 replies to this topic
#2
Posted 11 June 2012 - 02:08 PM
So long as the servers can share a common file system (or give that appearance), you should be able to set this up. For instance, your /site/assets/ could be a symlink to a dir on another server. But PW needs to be able to scan this directory for files, open files that are in it, and place new files into it when it needs to. PW uses PHP functions like move_uploaded_file(), copy(), rename(), getimagesize() and others to act upon the files in /site/assets/ as needed, which is why they must be accessible as if they were local.
#3
Posted 18 June 2012 - 08:43 AM
I'm thinking of using SSHFS (http://fuse.sourceforge.net/sshfs.html) to mount a remote NFS disk and mount it on my frontend servers so they all use the same shared filesserver, I'll let you know how things go
Also tagged with one or more of these keywords: server, files, assets
Community Support →
General Support →
Common practicesStarted by aren, 29 Apr 2013 |
|
|
||
Community Support →
General Support →
DB Connect Error 2005 before installationStarted by onjegolders, 05 Apr 2013 |
|
|
||
Community Support →
General Support →
Debugging a server issue, text content is cut off on any ‘special’ characterStarted by thijs, 07 Mar 2013 |
|
|
||
Community Support →
General Support →
Limiting file upload sizeStarted by onjegolders, 04 Mar 2013 |
|
|
||
Community Support →
Getting Started →
Easiest Way to Include Assets in a top-level directoryStarted by ruzel, 14 Feb 2013 |
|
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












