Install xcache

CentOS 6 # yum install php-xcache xcache-admin Debian/Ubuntu/Linux Mint # apt-get install php5-xcache Configure RHEL/CentOS/Fedora # nano /etc/php.d/xcache.ini Debian/Ubuntu/Linux Mint # nano /etc/php5/conf.d/xcache.ini OR # nano /etc/php5/mods-available/xcache.ini once you’re done with configuration settings, restart your Apache web server. # /etc/init.d/httpd restart # /etc/init.d/apache2 restart Verify # php -v Enabling XCache Admin Panel for PHP By […]

Read More

How to enable Xcache in cPanel

How to enable Xcache in cPanel to speed up website? Xcache can be enabled in cPanel by using Easy Apache. Log into your cPanel server. After you login, search for “EasyApache” in left column and click on the link. Select “Previously Saved Config” and click on “start customizing”. For both Apache and PHP, click on […]

Read More

Set up vhost in CentOS

Make a vhosts file in /etc/httpd/conf.d # nano dominname.conf Add the following # file: /etc/http/conf.d/dominname.conf # vhost: geekdecoder.com *.dominname.com #NameVirtualHost *:80 <VirtualHost *:80> # Admin email, Server Name (domain name) and any aliases ServerName dominname.com ServerAlias www.dominname.com ServerAdmin webmaster@dominname.com # Index file and Document Root (where the public files are located) DirectoryIndex index.html index.php DocumentRoot […]

Read More

Install Apache, Mysql and PHP on Ubuntu 14.04

How to install Apache, MySQL and PHP on Ubuntu 14.04 Update # sudo apt-get update Apache # sudo apt-get install apache2 Install MySQL # sudo apt-get install mysql-server php5-mysql # sudo mysql_install_db # mysql_secure_installation Install PHP # sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt Restart Server # sudo /etc/init.d/apache2 restart Check Apache Open a web browser […]

Read More

The requested resource does not allow request data with POST requests

The requested resource /marketplace/marketplaceaccount/editProfile/ does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit mod_security configuration in the /etc/httpd/conf.d/mod_security.conf file: # Maximum request body size we will # accept for buffering SecRequestBodyLimit 131072 You should be able to change this value and restart apache […]

Read More

Find and disable specific ModSecurity rules

ModSecurity uses can help block potential attack attempts from malicious users, but sometimes it can also block legitimate requests. Note: Using SecRuleEngine Off in your modsecurity configuration, you won’t want to put that in your ModSecurity configuration file. As that completely turns off ModSecurity. The SecRuleRemoveById setting is used instead to only disable one specific […]

Read More