Example of nginx.conf

Download example of nginx config file : nginx.conf [codesyntax lang="apache"] # nobody nobody but you ... user nobody; # max concurrent requests = worker_processes * worker_connections worker_processe… Continue reading
Posted in Nginx| Tagged , , , | Leave a comment

Customizing Magento Module with Event-Observer

1. About the Module : This module is for media sync when deploying magento as distributed application Module located at : app/code/local/Kim/Syncmedia/ There are only 4 files list below to make that a… Continue reading
Posted in Magento| Tagged | 2 Comments

Store Session with Memcached in Magento

app/etc/local.xml : [codesyntax lang="xml"] <config> <global> <session_save><![CDATA[memcache]]></session_save> <session_save_path><![CDATA[tcp://127.0.0.1:11211?persistent=1&weight=2&timeout=10&retry… Continue reading
Posted in Magento| Tagged | 2 Comments

Mini Login Form in Magento Home Page

1. Find and modify cms_index_index tag within /layout/cms.xml : [codesyntax lang="xml" lines="no" container="pre" tab_width="4"] <cms_index_index translate="label"> <label>CMS Home Page</label> <refer… Continue reading
Posted in Magento| Tagged | 2 Comments