Run Vhosts Under Separate UIDs/GIDs Apache2

To run vhosts under separate UIDs/GIDs in apache is very easy with mpm-itk.  This will help secure your sites on your shared server. First install apache2-mpm-itk apt-get install apache2-mpm-itk Next add a group and user groupadd web1 useradd -s /bin/false -d...

Compare Directories and Files with Diff

Sometimes working with a directory full of subdirectories and files you need to compare the directories and files to another version of the files.  This comes in extremely useful when restoring a hacked website.  To do this you need to have the old copy and the...

Changing Multiple Directory and File Permissions

After setting up your website it is always a good idea to change the directory and file permissions.  This makes it a little harder for an attacker to compromise your site.  For Joomla and WordPress it is best practice to set your directory permissions to 755 and your...

Remove Gravatar from WordPress

Gravatar is junk….   To remove it, add this toward the top of  your themes function.php function bp_remove_gravatar ($image, $params, $item_id, $avatar_dir, $css_id, $html_width, $html_height, $avatar_folder_url, $avatar_folder_dir) { $default =...

Create Joomla Website in ISPConfig

Create web site using ISP Config If a new client, under “client” tab, select “Add new client” button Enter relevant client information “Save” entry Under “DNS” tab, use the main “Add new DNS Zone (SOA)” button, not the text link on the left. Choose the DNS...