Archive for October, 2009


XAMPP: Setting Up Virtual Hosts Using Apache Friends

Thursday, October 29th, 2009

This is something I do often for development, but never actually knew if I was doing it correctly. I think I’ve finally gotten this right. What I want is: To be able to setup VirtualHosts in XAMPP and also define a PHP include path within that. I’m assuming you generally have an idea how to setup a VirtualHost in Apache.

The first step is to modify your Hosts file to point traffic to your local computer. My hosts file is here C:\WINDOWS\system32\drivers\etc\hosts, you’ll have to search for yours.

Code:
127.0.0.1		www.sun.com
127.0.0.1		sun.com

The next step is to define the VirtualHost within the httpd-vhosts.conf file in the conf directory of your XAMPP setup.

Code:
NameVirtualHost *
<VirtualHost *>
	DocumentRoot "C:\xampp\htdocs"
	ServerName localhost
</VirtualHost>
<VirtualHost *>
	DocumentRoot "C:\xampp\htdocs\sun"
	ServerName www.sun.com
	ServerAlias sun.com
        ErrorDocument 404 /error.php
	<Directory "C:\xampp\htdocs\sun">
		Order allow,deny
		Allow from all
	</Directory>
	<Directory "C:\xampp\htdocs\sun">
                 php_value include_path ".;C:\php\pear;C:\htdocs\sun\xx"
	</Directory>
</VirtualHost>

Using a php_value directive you can define the include path for that VirtualHost right from conf file – thank God.

hpn.TO Update: Nature’s Harmony, Korner’s, Blog

Thursday, October 15th, 2009

400664

hpn.TO has been hard at work adding new products to the site and beefing up the user experience. New features are being rolled out slowly, including allowing users to better navigate through individual companies products.

The latest line of products added to the site are Nature’s Harmony and Korner’s Cold Sore Treatment. Both of these companies are Canadian with bright future’s ahead of them. High Park also now has a blog, which was brought live last week. The blog will be used to highlight new products, provide advice and give a deeper look into the business of hpn.TO.

Mississauga Vitamin Supplement Store Update

Tuesday, October 6th, 2009

hpn

I spent this past weekend at the Canadian Health and Food Association conference in Toronto. This was the first time I attended the conference and I’m really glad I went. I sat in on a great talk about Recession Proof Retailing and got to see a ton of great companies at the trade expo. I’m also happy to announce some great new companies at High Park Nutrition. Your now able to shop for Vivitas Women, Nature’s Harmony and Shikai.

Mr. Grover

Monday, October 5th, 2009

Mr. Grover

One of the better pictures I’ve taken with my iPhone. I took this in Vancouver this past April went I went to visit a friend of mine, Rishi.

Rizogalo (Greek Rice Pudding) (Ryzogalo)

Thursday, October 1st, 2009

The 32nd video is up on Thursday for Dinner:

Rizogalo is one of my favourite desserts. When making rizogalo, you can’t stray too far away from the kitchen, as this dish requires constant stirring otherwise the milk will burn. You may add raisins if you like, although Eva prefers this recipe without the raisins. Rizogalo can be served either warm or cold. This recipe provides 8 servings.

For the written recipe click here. Subscribe by Email & iTunes. Be sure to also checkout TFD’s sponsor High Park Nutrition, Toronto’s health nutrition store.