Technology related solutions, tips, tricks, and other interesting topics
Most of the instructions for mirroring a directory with Rsync involve mirroring the data to a different server. You can also use Rsync to sync or mirror a directory on the same computer as the source directory.
Here is an example command on how to mirror two directories locally. In this example, /home/apache/public_html is the source [...]
In: Web Development
9 Dec 2008You can force visitors of your website to use SSL connections (HTTPS) if your web server uses Apache for its web services. Most web hosting providers use Apache for their Linux servers. To automatically redirect someone to the SSL (HTTPS) version of your website place the following at the top level of your website directory [...]
In: Web Development
11 Nov 2008When you set up a SFTP server connection for a website in Dreamweaver, the default port used is 22. If you want to use a different port then you need to add a “:portNumber” at the end of the “FTP Host” address field. For example, suppose your web server has an address of www.foo.com and [...]
In: Web Development
26 Jul 2008The following error may appear in your Apache error log file or displayed on a PHP web page:
Parse Error: syntax error, unexpected $end in ….. scripts.php on line …
If you are running PHP 5 then that means you probably need to enable the PHP configuration file option “short_open_tag”. In your php.ini file enable the option [...]
This blog is about technology related topics. It will primarily contain problems and solutions to IT problems that I encounter on a day-to-day basis. In addition interesting things I come across either on or off the internet will be posted here as well. I will also include step-by-step tutorials to common tasks people may need to do with their computers.