How to move images and static files on a remote webserver

Author Message

Salvatore Guarino

Tuesday 02 December 2008 2:53:07 am

I have a webserver with eZpublish with high traffic of images an swf files . I need to put these files on another web server with a wide band, but I want to mantain the core of eZpublish on current server. There is a way to move only the /var (or /var/storage) directory? For a static site, a good idea should be to use the mod_rewrite of apache, but with eZpublish I need to sync the remote var directory with local changes. Maybe using mod_rewite to redirect /var urls and rsync to sync a local var directory with a remote one should be an efficent solution... Any idea or suggest?

Thx in advance!

Ivo Lukac

Tuesday 02 December 2008 4:06:51 am

Hello Salvatore,

You should try reverse proxy:
http://ez.no/developer/articles/using_the_squid_reverse_proxy_to_improve_ez_publish_performance

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Salvatore Guarino

Tuesday 02 December 2008 4:55:46 am

Thank you Ivo, it's a good idea.

Patrick Kaiser

Tuesday 02 December 2008 5:05:07 am

You may also consider nginx (http://wiki.codemongers.com/Main) or Varnish (http://varnish.projects.linpro.no/) or a combination of both.


Best regards,

Patrick

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.