create symlink to another machine

Posted by microchasm on Server Fault See other posts from Server Fault or by microchasm
Published on 2010-06-03T20:17:14Z Indexed on 2010/06/03 20:26 UTC
Read the original article Hit count: 225

Filed under:
|
|

Hi,

I have 2 machines. Both running CentOS. Box1 is webserver with apache, php. Box2 is mysql, and file storage. The files will only be accessible from Box1 within the webapp.

I'd like to somehow create a symlink or somesuch on box1 to a folder on box2 where uploaded files can be stored and retrieved. Security in mind, what would be the best way to go about linking these 2 boxes up in a transparent (to apache) way?

NB: the boxes are connected directly to each other via a crossover cable; no lan access to box2.

Much thanks!

© Server Fault or respective owner

Related posts about linux

Related posts about filesystems