Category Archives: Unix

Install ISPConfig3 on an Ubuntu 14.10 Server – Part 5

Back to Part 4 Configure Squirrel Mail: Then create the following symlink… sudo ln -s /usr/share/squirrelmail/ /var/www/webmail sudo squirrelmail-configure Select D Select courier Then press enter to continue   Press S   Press Q  Making The  /squirrelmail working Link squirrel mail config to apache2 sudo ln -s /etc/squirrelmail/apache.conf /etc/apache2/conf-enabled/squirrelmail.conf Open config sudo nano /etc/apache2/conf-enabled/squirrelmail.conf Then Add… Read More »

Install ISPConfig3 on an Ubuntu 14.10 Server – Part 6

Go Back to Part 5 Increase MaxRequestLen in etc/apache2/mods-available/fcgid.conf If you dont do this you will get following error messages ISPConfig – Error 500 Internal Server Error ERROR 500 – Internal Server Error! The following error occurred: The requested URL caused an internal server error. If you get this message repeatedly please contact the webmaster. sudo nano… Read More »

Install ISPConfig3 on an Ubuntu 14.10 Server – Part 1

Although the command line is a powerful tool that can allow you to work quickly and easily in many circumstances, there are instances where a visual interface is helpful. If you are configuring many different services on one machine, or administering portions of your system for clients, tools like ISPConfig can make this a much… Read More »

Install ISPConfig3 on an Ubuntu 14.10 Server – Part 2

Back to Part1 Edit Source List sudo nano /etc/apt/sources.list deb http://us.archive.ubuntu.com/ubuntu precise main restricted universe multiverse deb http://us.archive.ubuntu.com/ubuntu precise-updates main restricted universe multiverse Make sure above two lines exist. sudo apt-get update sudo apt-get install apache2 apache2-utils libapache2-mod-suphp libapache2-mod-fastcgi libapache2-mod-python libapache2-mod-fcgid apache2-suexec libapache2-mod-php5 php5 php5-fpm php5-gd php5-mysql php5-curl php5-intl php5-memcache php5-memcached php5-ming php5-ps php5-xcache php5-pspell… Read More »

Install ISPConfig3 on an Ubuntu 14.10 Server – Part 3

Back to Part 2 Mail Configuration Let’s start by enabling some functionality in postfix. Open the default configuration file with your editor: sudo nano /etc/postfix/master.cf We just need to uncomment some of the lines in this file. Specifically the line that deals with the submission service and the first three option lines beneath, and the… Read More »

Large Text File Viewer

Have you ever felt frustrated when you just want to look at the content of a large text file but it takes forever for Notepad or Word to open it? This program was designed for viewing large (>1GB) text files. It uses little memory and is able to open a gigabyte file instantly. Background file… Read More »

Dynamic Footer Copyright Year using php

So let’s say your current footer looks something like this… <p id=”footer”>copyright © 2014 by Haneef Puttur, Inc</p> To put that copyright year on auto-pilot, simply drop this bit of code in there and sit back and relax. <p id=”footer”>copyright © <?php echo date(‘Y’); ?> by Haneef Puttur, Inc</p> If your copyright is a range of years,… Read More »

Creating Widget Space in WordPress

About Widgets: WordPress widgets are plug-able items that enhance the features of a site. One can think of wordpress widget as a cassette that needs to be inserted into an available slot so that it performs it’s functions accordingly. Here slot refers to the the widgetized areas that are available according to the nature of the… Read More »

Solution for PHP Mail Sending as Junk Characters for Arabic or Unicode Characters

Problem     Problem : Character Encoding Not set in header field of PHP Mail. Solution : headerFields = array( “From: {$visitor_email}”, “MIME-Version: 1.0”, “Content-Type: text/html;charset=utf-8” ); $mail_sent = mail($client_email, $title, $message, implode(“\r\n”, $headerFields)); If its ASP server , please use following command objCDO.BodyPart.Charset = “utf-8” .