Setup virtual directory on Apache in Windows XP

Years ago, I developed PHP in Windows using IIS (Internet Information Services) as web server. I had no problem to setup virtual directories under IIS because I could just right click the web server and click Add Virtual Directory.

However now I am using Apache in Windows XP, I need to configure the virtual directory manually by editing httpd.conf file. The reason why I want to setup virtual directories is because I want to concentrate my projects code in drive D:\ instead of C:\inetpub\wwwroot\ or C:\xampp\.

After searching Google and read few websites, I have my answer on how to configure virtual directories, here is code to be added in to my httpd.conf file:

Alias /krova "D:\projects\krova"

<Directory "D:\projects\krova">
DirectoryIndex index.html index.php
Options FollowSymLinks
AllowOverride None
order allow,deny
allow from all
</Directory>

After restarted my Apache server, and pointed my browser to http://localhost/krova/, it works!

Visit to SPCA

This is a repost entry, don’t know what happened this post was gone. May be had problem in the database and the web hosting company restored old version of data. So here I post again. 


Today (6th Sept) after lunch we went to SPCA Selangor which is near with our house. We went to dog section to visit the dogs in there. Han Ler was excited with the visit. I am not sure is it because Han Ler bornt at dog’s year, he likes dogs very much. We have visited the dogs area, there were a lot of dogs wandering in that little area, and also many other dogs and puppies in the cage.

We didn’t adopt any dogs, because working hour of Rachel and I are too long and we worry don’t have enough time to take this responsibility. Perhaps will consider to adopt one when Han Ler is big enough to take care a dog.

Han Ler and Rachel in SPCA Selangor

Dogs in SPCA Selangor

Happy birthday, naughty boy

Happy birthday Han Ler

Time flies, now you are 3 years old. I don’t mind you are naughty, as long as you are healthy and happy, as how we named you.

Happy birthday.

Happy belated birthday, Nelson Mandela

Nelson Mandela
Nelson Mandela

Happy belated birthday, Nelson Mandela, thanks for your efforts to end the apartheid in South Africa, you have shown that is possible to have racial equality. It’s a difficult process and a lot to be sacrificed, I understand it because in Malaysia also have problem of racial discrimination, especially from some politic parties.

18th July is not only your birthday, it’s now also Mandela’s Day, to recognize your devotion on peacefully fighting for freedom and social justice for all.

At here, I would like to dedicate a song (which was writen by a Hong Kong band – Beyond, dedicated to you) to express my appreciation for what you have done to show the World about racial equality: Beyond – Glorious Years. (光輝歲月)
今天只有殘留的軀殼,迎接光輝歲月

Bungalow Advertisement

Jelutong Heights – Dahlia (2 1/2 Storey Semi-D)
RM 1,477,900
3,776 sq. ft.
Shah Alam

Laman Seri
RM 2,500,000
4,400 sq. ft.
Shah Alam

The Villa @ Serai Saujana
RM 5,903,175
12,443 sq. ft.
Shah Alam

Mr Khir Toyo’s Mansion
RM 3,500,000++
Around 50,000 sq. ft.
Shah Alam

Don’t know what to study after secondary school? Read here.