By PhDs, (© Copyright reserved),
January 1, 2010 at 12:16 pm
· Category: Linux Admin
If you get “method not implemented” error message, it is most likely your httpd server is using mod_security. You can completely remove mod_security from your site or your httpd server.
To remove mod_security from your site, edit .htaccess file:
add these lines:
<IfModule mod_security.c>
###########################################
# disable POST processing to not break multiple image upload
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
<IfModule mod_deflate.c>
If this does not work, remove mod_security from your httpd.conf by commenting out the following lines:
AddModule mod_security.c
LoadModule security_module modules/mod_security.so
Include “/usr/local/apache/conf/modsec.conf”
Or move mod_security.conf from conf.d directory to somewhere else.
Permalink
By PhDs, (© Copyright reserved),
December 30, 2009 at 12:19 pm
· Category: Linux Admin
Search for "Ski resort" in a directory and sub-directory
$ grep -H -r "Ski resort" /home/innovita
Search "Ski resort" in a current directory and sub-directory
$ grep -H -r "Ski resort" .
Permalink
By PhDs, (© Copyright reserved),
December 29, 2009 at 11:25 pm
· Category: Linux Admin
All template files are located in
app/locale/en_US/template/email.
1, Upload a new logo to
images/logo_email.gif
2, Change any file with *new.html
alt=”Magento” –> alt=”InnoVita”
3, Change any file with confirmation.html
Demo Store –> InnoVita
4, Change email and phone number
dummyemail@magentocommerce.com –>me@my.com
magento@varien.com –>me@my.com
(555) 555-0123
5, To make sure you have changed everything
cd /home/xxx/webapps/app/locale/en_US/template/email
cat *.html |grep Demo
cat *.html |grep 555
cat *.html |grep magento
cd sales
cat *.html |grep Demo
cat *.html |grep 555
cat *.html |grep magento
Permalink