Error : Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace Solution : When access the domain and the domain not shows the content and the server logs shows the above error then you need to [ Read More ]
disable directory listing,Tomcat + cpanel,web.xml file,tomcat,cpanel,index.jsp
redirect domain to subdirectory without redirect url
Categories: Email Marketing Series, How to, htaccessHow to redirect domain to sub-directory without redirect to URL
How to create email account in postfix mail server
Categories: Email Marketing Series, How to, PleskHow to create email account in postfix mail server? Ans : Postfix configuration files are stored in “/etc/postfix”. The two main postfix configuration files are master.cf and main.cf, although we will only be dealing with main.cf here. First we are going to make some additions or changes to the main.cf configuration file. The following lines [ Read More ]
Problem in password protection using .htaccess
Categories: CRE Loaded, Email Marketing Series, How to, htaccessHow to protect CRE Loaded admin area ? or Problem when page requires authentication or How to set password protection for sub directory without affecting to other .htaccess rewrite rules Ans : You will notice that the default .htaccess will not work if your page requires authentication. Suppose you have set the password protection for [ Read More ]
If you want to copy all of the files and folders from one host to another by using the ftp account. Then use the following command to download the files/folders on remote server by using wget. Use this command on destination server. wget -r ftp://username:password@ip.of.old.host Some on the hosting provider disabled the main ftp account [ Read More ]
how to update the awstat in plesk
Categories: Email Marketing Series, How to, PleskHow to update the awstat on plesk manually/automatically ? Ans: You can easily update the awstat for the particular domain by using following command. /usr/local/psa/admin/sbin/statistics –calculate-one –domain-name=domain.com Note: Replace the domain.com equal to original domain name. If you want to update the awstat for all the domains which is hosted on the serve then use [ Read More ]
javax.naming.NameNotFoundException
Categories: Error and solution, TomcatError: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context Solution : When I have access site in browser then catalina.out logs show the above error and the database is not connected , I have tried all of the possibilities but this issue is sorted with following solution. I have moved the mysql-connector-java-*.jar file from [ Read More ]
Request Entity Too Large
Categories: Error and solutionError : Request Entity Too Large The requested resource /send.php does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit. 01 3006 Solution : This error due the variables_order used on the server. The default variables_order used on the cpanel server is “EGPCS”. If [ Read More ]
How to set the Cronjob for first Sunday of the every month. Ans: You can not set such type of cron by using the cPanel. I have used following script to set this cron. This script detect the first Sunday of every month and then execute the defined script. Add the following Cron to execute [ Read More ]
Install php soap on the linux plesk server
Categories: Installation, PleskHow to install php soap on the linux plesk server(centos 5 -i386) ? Ans : You can easily installed php soap by using the rpm rpm -ivh http://www6.atomicorp.com/channels/atomic/centos/5/i386/RPMS/php-soap-5.2.13-1.el5.art.i386.rpm Then check it by using the command php -m | grep soap soap Done
How to migrate and restore single account from one cpanel server to another cpanel server Login to source server : /scripts/whoowns domain.com It shows the username for that domain name. You can create full backup of account which contain all data, database and emails by using following command. #/scripts/pkgacct username Change the permission #chmod 755 [ Read More ]
enable mysql Query cache
Categories: mysqlHow to enable mysql Query cache on linux server? Ans: You need to login to mysql by using root accesss. ========================== root@server[~]#mysql -u root –pPASSWORD mysql> SET GLOBAL query_cache_size = 16777216; (If you want to set query_cache_size=16 MB) ========================== Then open the my.cnf file and add the following directives. # vi /etc/my.cnf query_cache_size = 268435456 [ Read More ]
How to Re-Install cPanel Softwares
Categories: cpanelYou can easily reinstall the cpanel softwares. Roundcube: /usr/local/cpanel/bin/update-roundcube –force Horde: /usr/local/cpanel/bin/update-horde –force or /scripts/fullhordereset Squirrelmail /usr/local/cpanel/bin/update-squirrelmail –force cPanel /scripts/upcp MySQL /scripts/mysqlup PostgreSQL /scripts/installpostgres phpMyAdmin /usr/local/cpanel/bin/updatephpmyadmin pureFTP /scripts/ftpup –force (See: Installing and Configuring pure-FTP) Exim /scripts/eximup Courier IMAP /scripts/courierup –force (See: Installing/Configuring Courier IMAP) Dovecot /scripts/dovecotup –force (See: Installing and Configuring Dovecot) cpAddons /scripts/cpaddonsup NSD/BIND [ Read More ]
http://localhost/removecookies”
Categories: UncategorizedWhen any page shows blank page and redirected to the URL http://localhost/removecookies” Then the problem due the mod security check the server logs and disable the mod security rules which is affected for your domain. If server logs not shows any error logs then completely disable the mod security for your domain.
Exception printing is disabled by default for security reasons
Categories: Error and solution, magentoError : Exception printing is disabled by default for security reasons. Error log record number: XXXXXXXXXXXXXXX Solution : After installation of magento then some of pages shows this error. Exception printing is disabled by default for security reasons. Error log record number: XXXXXXXXXXXXXXX In this case you need to check following steps. 1) Go to [ Read More ]
remove index.php from url in magento
Categories: magentoHow to remove index.php from url in magento Ans : If you want to access your magento URL without index.php for example: http://domain.com/index.php/category to http://domain.com/category then use the following steps 1) Login to admin section by using the URL http://domain.com/index.php/admin 2) then go to “System >> Configuration >>Web >> Search Engines Optimization” Use Web Server [ Read More ]
how to enable SSL3.0 on cpanel server
Categories: cpanel, Email Marketing Series, How to, InstallationTo Disable SSLv2 and enable SSLv3 in the server in cpanel Linux Server Edit the ssl.conf file root@server []# vi /usr/local/apache/conf/ssl.conf Edit the line from SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL To SSLProtocol -SSLv2 +SSLv3 +TLSv1 SSLCipherSuite !NULL:!ADH:!EXP:!LOW:SSLv3:+HIGH:+MEDIUM root@server []# /etc/init.d/httpd restart You can connect the server using OpenSSL to test it SSLv3 enable or not : root@server []# [ Read More ]
view the content of .csr file
Categories: UncategorizedIf you want to check the .csr file content then use the following command to check the details of CSR. openssl req -text -noout -in host.csr Note: change the host.csr to original .csf file name.
joomla permission in plesx
Categories: JoomlaWhen joomla admin section shows the all files unwritable in ” System Info” Then you need to correct the permission by using following steps. I am able to solve this issue with the following steps. cd /var/www/vhosts/[domain.com] chown -R [username]:psacln httpdocs chmod -R g+w httpdocs find httpdocs -type d -exec chmod g+s {} \; Add [ Read More ]
If you want to install software/packages after installation of linux (CentOS, Fedora etc.). You can create the yum repository to install all the software/packages which is present into the instillation CD. When you have try to install software/packages then some time it shows dependencies problems. To fix this problem I suggest your create the local machine [ Read More ]
How to Add ssh user on linux server ? Ans: You can use the putyykey generator and generate the ssh key for the user and copy into the local computer.You can download the puttykey generator from the URL http://the.earth.li/~sgtatham/putty/latest/x86/puttygen.exe The following are the steps for creating ssh user with the authentication :- #adduser test #passwd [ Read More ]
What is appbase and docbase
Categories: TomcatWhat is appbase and docbase ? Ans : appBase : The Application Base directory for this virtual host. This is the path-name of a directory that may contain web applications to be deployed on this virtual host. You may specify an absolute path name for this directory, or a path name that is relative to [ Read More ]
How to enable SSI ?
Categories: Email Marketing Series, How to, PHPHow to enable Server Side Includes on the server ? Ans: First you can check SSI are enabled on your server or not. So create one test.html file and add the following code . <!–#ECHO var=”DATE_LOCAL” –> Then access the page by using the URL http://domain.com/test.html and it shows the current date to the screen [ Read More ]
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
Categories: Error and solution, TomcatNeither the JAVA_HOME nor the JRE_HOME environment variable is defined
access .jsp pages by using the temporay URL
Categories: cpanel, TomcatIf domain does not points to the server and you want to access .jsp pages by using the temporary URL (ex: http://domain.com/~username ) Solution: Add the following code in server.xml file under the virtual host entry for any domain. <Listener className=”org.apache.catalina.startup.UserConfig” directoryName=”public_html” homeBase=”/home” userClass=”org.apache.catalina.startup.HomesUserDatabase”/> For example : Web files would need to be in directories [ Read More ]









