Blog
Read articles on our blog.
Choosing the right Firewall
Part of good network is proper hardware like router/firewall. Using cheap and basic equipment may work for home users, but it is not perfect for business applications. In a business, it is important to protect information and data access is paramount. This is why it is recommended to invest in a security system to prevent cyber-attacks, and ensure network up-time and access to you data and applications. Systems security is not just made of one thing. There are many links in the chain: user account and password security, anti-virus system...
read moreLinux CentOS multiple default gateway for Virtual NIC interface
If your server needs to have multiple IP addresses on the same physical NIC, you need to create multiple Virtual Interfaces. For example, the default eth0 configuration will have an IP address from one network IP block, but you need to add another IP address, from a different IP block, with a different gateway. Here are the steps to add multiple IP addresses with multiple default gateways on the same physical NIC: Create a separate file in /etc/sysconfig/network-scripts called eth0:1 or eth0:2, etc. Increment for each new IP address. File...
read moreScripting – check if process or program is running and start it
Sometimes you have to have a program running for other programs to work. If this program does not run as a Windows service, use this script to check for program’s process name, and start it if it’s not running. Use your own process name instead of ‘calc.exe’ and you can take out the ‘wscript.echo’ line. Then, run this script under Scheduled Tasks every 15 minutes or so. You may have to run the scheduled task with elevated privileges, or using a Local Administrator or Domain Administrator...
read moreWordPress Recipe-Press plugin, ingredient page link select not displaying saved result
When implementing the Recipe-Press WordPress plugin for a client we came across an issue that the ingredient page link select did not display the saved result, and just defaulted to none. Maybe this image will help Hence even though the proper page link gets saved, it doesn’t show that selection on the form The Solution: 1. Open YOUR-PLUGIN-DIRECTORY/recipe-press/includes/form_tags.php 2. Go to line 303 and find the following piece of code in function recipe_dropdown_pages...
read moreosCommerse configure.php troubles
An osCommerse installation was giving me a bunch of problems with configure.php and it’s modules, boxes and other paths. The problem was the install did not like virtual directory paths, but worked fine with physical directory paths. Here is a quick fix that may help you. Add the following code to set the include path in your appication_top.php file(s). Do this in \www\includes\application_top.php: // ADD INCLUDED PATH MANUALLY // set_include_path(get_include_path() . PATH_SEPARATOR . '/home/cgt001/www'); // END ADD INCLUDED...
read moreLinux CentOS – copy .htaccess file into every subdirectory
If you need to copy a file into every sub-directory within a directory, navigate there, and run this command: find -type d -maxdepth 1 -print0 | xargs -0 -n1 cp .htaccess The maxdepth 1 switch allows you to go only 1 subdirectory deep, you can change it to 2, or 3 or leave it out altogether to copy into every subdirectory, regardless of depth. You can copy any file, not just .htaccess this way. find -type d -print0 | xargs -0 -n1 cp .htaccess This can be especially useful for WordPress media files and upload directories organized by...
read moreWindows login script to automatically map users to Samba share
If you have configured Samba to share a folder and want your Windows users to automatically connect to it do the following: Create a logon script logon.bat: net use Z: /delete net use Z: \\192.168.0.100\data In a non-domain environment Put this script in: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup on Windows 7 computers. Put this script in: C:\Documents and Settings\All Users\Start Menu\Programs\Startup on Windows XP computers. In a Windows domain environment In a Windows domain environment you can can configure Group Policy...
read more
