Problem With Solutions

Something Different In Linux

Home » 2009 » October

Unable to include potential exec

Posted by Rishikesh Vispute Categories: Knowledge

Solution [Mon March 13 12:11:27 2009] [error] [client XX.XX.XX.XX] unable to include potential exec “/cgi-bin/script.cgi” in parsed file “/public_html/file.html” Including executables are no longer allowed by default. IncludesNOEXEC is now the default, SSI includes are now disabled by default the Options -IncludesNoExec directive. This is due to server abuse. We recommend using PHP coding wherever  [ Read More ]

How to enable FollowSymLinks on the server

Posted by Rishikesh Vispute Categories: cpanel

If your site shows the 404 forbidden error and the server logs shows “Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: ” Then you need to enable the Options FollowSymLinks for your account or on the server. For your account you need to add the following code into .htaccess file  [ Read More ]

why mysql_pconnect is disabled on shared server

Posted by Rishikesh Vispute Categories: mysql

mysql_pconnect() will maintain a persistent connection to the database. Whenever your script calls the connect to database function, it first searches already existing connections to the database and if exists it will use the same connection to connect to the database, if not it will open a new connection to the database. ie. Connection is  [ Read More ]

If you are not able to connect to ftp account with the correct login details and the cpanel server logs shows the error “Sorry, cleartext sessions are not accepted on this server. Please reconnect using SSL/TLS security mechanisms” then follow the steps The problem due to some ftp client not support the “TLS Encryption Support”  [ Read More ]

Prevent DDos attacks on your Linux server

Posted by Rishikesh Vispute Categories: DDOS

DDOS, or Distributed Denial of Service is an advanced version of DOS(Denial of Service) attack. Like DOS, DDOS also tries to deny important services running on a server by broadcasting packets to the destination server in a way that the Destination server cannot handle it. There is no 100% perfect solution for DDOS. We can  [ Read More ]

How to Redirect a Web Page Using a 301 Redirect

Posted by Rishikesh Vispute Categories: How to, Knowledge

How to Redirect a Web Page Using a 301 Redirect You’ve just edited or modified some pages of your web site and those pages have high search engine rankings that you don’t want to lose. How can you safely redirect web site traffic from your old pages to the new pages without losing your rankings?  [ Read More ]

Defination of webhosting tools

Posted by Rishikesh Vispute Categories: Knowledge

APACHE The Apache is a web server that parses types of HTML pages  and sends it back to you as a human readable web page.Apache is an open source Web server that is distributed free. Apache runs on Unix-based operating systems (including Linux and Solaris) and Windows 95/98/NT. CGI CGI means common gateway interface, it  [ Read More ]

Perl script run without .pl extension.

Posted by Rishikesh Vispute Categories: cpanel, How to

Perl script run without .pl extension. If client want to run perl script without .pl extension then add the following rule in the .htaccess file under the public_html folder. ============== <Files ~ ‘^[^.]*$’> SetHandler cgi-script </Files> ==============

Types of web hosting control panels

Posted by Rishikesh Vispute Categories: Knowledge

Web hosting Control Panel Types : The control panel is designed to simplify the management and administration of web sites.Control panel automates a large number of tasks that allow service providers to reduce operating costs and resources while at the same time increasing profitability, efficiency and customer satisfaction. Clients can control there sites and other  [ Read More ]

Some useful rpm and yum commands

Posted by Rishikesh Vispute Categories: Linux Commands

Some useful rpm and yum commands In which the package replaced by the original package name which you want. 1. rpm -ivh packages(s).rpm install rpm file(s) 2. rpm -Uvh packages(s).rpm upgrade system with rpms 3. rpm -e package remove package 4. rpm -q package show version of package installed 5. rpm -q -i package show  [ Read More ]

Increase your site download speed

Posted by Rishikesh Vispute Categories: Knowledge

Increase your site download speed Increase your website download speed by reducing the HTML code size, removing extra graphics and converting text images to text. Reduce website code size : Reduce your site code size by converting your site to CSS from table layout and making your HTML code validate. Remove extra graphics : Increase  [ Read More ]

How to Increase Website Speed..

Posted by Rishikesh Vispute Categories: Knowledge

How to Increase Website Speed

How to reset WordPress admin password from cPanel?

Posted by Rishikesh Vispute Categories: cpanel

How to reset WordPress admin password from cPanel? You have to do this through the WordPress database directly. The most convenient way to manage the database is via the phpMyAdmin tool. Goto your cPanel -> MySQL Databases section. Scroll down the page till you notice the small phpMyAdmin link. Click on it. or Goto your  [ Read More ]

Which Is the Best Web Hosting Company?

Posted by Rishikesh Vispute Categories: Knowledge

Which Is the Best Web Hosting Company? Finding a reliable and quality web hosting service provider for small busines is a so much difficult task today for business owners and entrepreneurs. There are many hosting services providers who offers cheap web hostings for small business. In many cases various companies charges different high charges for  [ Read More ]

What is mount point for tomcat

Posted by Rishikesh Vispute Categories: Tomcat

What is mount point for tomcat? <IfModule mod_jk.c> JkMount /*.jsf ajp13 JkMount /servlet/* ajp13 JkMount /servlets/* ajp13i </IfModule>

check gzip compression is enable or not

Posted by Rishikesh Vispute Categories: How to, Uncategorized

How to check gzip compression is enable on the server or domain. The gzip compression required mod_gzip.c or mod_deflate.c module installed on the server. How you can check this module installed on  the server root@server [~]# /usr/local/apache/bin/httpd -l or root@server [~]# httpd -l If one of the module is installed on the server then, you  [ Read More ]

TikiWiki installation Error

Posted by Rishikesh Vispute Categories: cpanel

Hello.. If you receive the error below after installing tikiwiki, please follow the steps provided. ===================================================== Tiki is not properly set up: The directory ‘/tmp’ does not exist or PHP is not allowed to access it (check open_basedir entry in php.ini). Your options: 1- With FTP access: a) Change the permissions (chmod) of the directories  [ Read More ]

cgiemail shows Internal server error

Posted by Rishikesh Vispute Categories: cpanel

cgiemail shows Internal server error CGIEmail is another form processing script, totally different than FormMail. Some cpanel user uses this script for form processing but due to some server configuration it shows error “Internal server error” . Please follow the steps provided. 1) Login to cpanel and goto file manager 2) Then delete these four  [ Read More ]

How to enable https for tomcat

Posted by Rishikesh Vispute Categories: How to, Tomcat

If you are looking to enable HTTPS in Tomcat first thing you will have to do is generating a server certificate for your website. A key tool command which comes with your JRE( Java Runtime Environment). Open a command shell which should know how to find your Java runtime environment properly. If you are using  [ Read More ]

ffmpeg installation

Posted by Rishikesh Vispute Categories: Installation

I have use all the following steps and  I am able to install ffmpeg without any error. There are ready made scripts available to install ffmpeg. ========================================================================== cd /usr/local/src wget http://www.bestdesigns.co.in/blog/installffmpeg.zip tar -xvf installffmpeg.zip cd installffmpeg ./install.sh ========================================================================== OR ========================================================================== You can installed it by using manually. Please follow the steps for installation of ffmpeg  [ Read More ]

PHP Installation

Posted by Rishikesh Vispute Categories: Installation

========================================== php INSTALLATION ( http://dan.drydog.com/apache2php.html ) ========================================== [root@]# wget http://in.php.net/get/php-5.2.6.tar.gz/from/in2.php.net/mirror [root@]#tar xvfz php-5.2.6.tar.gz [root@]# ./configure –with-apxs2=/usr/local/apache/bin/apxs –with-mysql=/usr/include/mysql –prefix=/usr/local/apache/php –with-config-file-path=/usr/local/apache/php –enable-force-cgi-redirect –disable-cgi –with-zlib –with-gettext –with-gdbm [root@]# make [root@]# make install [root@]# cp -p .libs/libphp5.so /usr/local/apache/modules [root@]# cp -p php.ini-recommended /usr/local/apache/php/php.ini [root@]# /etc/init.d/httpd restart ============================================

MySql Installation

Posted by Rishikesh Vispute Categories: Installation

=========================== MySql INSTALLATION =========================== [root@]# wget http://httpupdate.cpanel.net/mysqlinstall/5.0.27-0/centos/5.0/MySQL-bench-5.0.27-0.glibc23.i386.rpm [root@]# wget http://httpupdate.cpanel.net/mysqlinstall/5.0.27-0/centos/5.0/MySQL-client-5.0.27-0.glibc23.i386.rpm [root@]# wget http://httpupdate.cpanel.net/mysqlinstall/5.0.27-0/centos/5.0/MySQL-devel-5.0.27-0.glibc23.i386.rpm [root@]# wget http://httpupdate.cpanel.net/mysqlinstall/5.0.27-0/centos/5.0/MySQL-server-5.0.27-0.glibc23.i386.rpm [root@]# wget http://httpupdate.cpanel.net/mysqlinstall/5.0.27-0/centos/5.0/MySQL-shared-5.0.27-0.glibc23.i386.rpm [root@]# wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/perl-DBI-1.52-1.fc6.i386.rpm [root@]# rpm -ivh perl-DBI-1.52-1.fc6.i386.rpm [root@]# rpm -ivh MySQL-bench-5.0.27-0.glibc23.i386.rpm [root@]# rpm -ivh MySQL-client-5.0.27-0.glibc23.i386.rpm [root@]# rpm -ivh MySQL-devel-5.0.27-0.glibc23.i386.rpm [root@]# rpm -ivh MySQL-server-5.0.27-0.glibc23.i386.rpm [root@]# rpm -ivh MySQL-shared-5.0.27-0.glibc23.i386.rpm The following is what I did to change the  [ Read More ]

Apache Installation

Posted by Rishikesh Vispute Categories: Installation

================================================= APACHE INSTALLATION ================================================= [root@]#cd /usr/local/src [root@src]#wget wget http://mirrors.enquira.com/apache/httpd/httpd-2.2.9.tar.gz [root@src]#tar xvfz httpd-2.2.8.tar.gz [root@src]#cd httpd-2.2.8 [root@httpd-2.2.8]# ./configure –prefix=/usr/local/apache2 [root@httpd-2.2.8]# make [root@httpd-2.2.8]# make install [root@httpd-2.2.8]# cp /usr/local/apache2/bin/apachectl /etc/init.d/httpd ./configure –with-layout=Apache –add-module=../mod_frontpage.c –enable-module=so –enable-module=ssl –enable-module=rewrite –enable-module=info –enable-module=expires –enable-module=headers –enable-module=proxy –enable-module=unique_id –enable-suexec –logfiledir=/usr/local/apache/logs –prefix=/usr/local/apache –suexec-caller=nobody –suexec-docroot=/ –suexec-gidmin=100 –suexec-logfile=/usr/local/apache/logs/suexec_log –suexec-uidmin=100 –suexec-userdir=public_html –sysconfdir=/usr/local/apache/conf =================================================

Optimized by SEO Ultimate