Friday 27 September 2013

301 redirect using httpd.conf

This is how to do a 301 redirect if you want to divert traffic from one domain to another.

It is best to use a 301 redirect which is a permanent redirect code.

Edit your httpd.conf file which should be located /etc/httpd/conf/httpd.conf

Then just add this code to the end of the file (don't forget to change the domains to your own!)

<VirtualHost *:80>
   ServerName www.domaintoredirect.com
   ServerAlias domaintoredirect.com
   RewriteEngine on
   RewriteRule ^/(.*) http://www.DomainToPointTo.net/$1 [L,R=301]
</VirtualHost>


Don't forget to restart the web server

/etc/init.d/httpd restart

Job done! Your domain should now be redirecting.

Thursday 19 September 2013

IFTTT update: New Google Calendar Trigger

There’s a new Trigger available for the Google Calendar Channel. Every time a new event is added to your Calendar, the Trigger picks it up. Give it a shot!


IFTTT Recipe: Text me when a new event is added to my calendar



IFTTT Recipe: Add new Google Calendar events to a Google Drive spreadsheet



IFTTT Recipe: Send an email to someone else each time a new event is added to your calendar



IFTTT Recipe: When a meeting is added to my calendar, automatically create a meeting notes document in Evernote.


Thursday 5 September 2013

IFTTT update: Introducing the SmartThings Channel

Unlock a new world of possibilities for the everyday objects in your life.


image


The SmartThings Channel lets you seamlessly integrate all types of innovative sensors and devices with your favorite online services. Here are just a few of the many things you can do with SmartThings Recipes:


IFTTT Recipe: Let me in! Checkin with a #hashtag to unlock your door.



IFTTT Recipe: Turn on Hue Lights when SmartThings detects that you've arrived home.



IFTTT Recipe: Call me if the liquor cabinet opens!



IFTTT Recipe: Turn on a SmartThings Light Switch when Wemo Motion is detected.



IFTTT Recipe: Turn on Wemo Switch from SmartThings Motion!