Search This Blog

Monday, June 25, 2012

Installing PHP in Windows 7 and changing the port

Wamp Server is all in one package with Apache, MySQL and PHP on windows. When you have installed Wamp Server, you can view your www directory by browsing http://localhost/. But when you have installed IIS for .NET applications, While IIS running, you may not be able to run Wamp Server at http://localhost/.

You need to shutdown IIS to run Wamp Server properly. Below is the steps, how you can run both

server paralleled:

1. To run Wamp Server parallel with IIS 7, you will need to assign port 8080 to Wamp Server.

2. To do this, click on Wamp Server icon on taskbar and go to Apache > httpd.conf

3. Change ‘Listen 80’ to ‘Listen 8080’. Save the file and click on “restart all services“.

4. Now you can view your WAMP Server on http://localhost:8080/

5. And IIS 7 will be running at http://localhost/

Go to Start  and type IIS (MANAGER) and change the services

Screenshot1:
Screenshot 2:


 Restart the wamp Service and  Service will be started




Wednesday, June 20, 2012

How to redirect the website Url to different domain names

To redirect the website Url  to different domain names  like

1.example.com
2..example.org
3..example.co.in

This is an example of a simple HTML document that uses this technique


<meta http-equiv="Refresh" content="0; url=http://www.example.com/" />


Validating to select in sequencial order using angular

    < input type = "checkbox" (change) = "handleSelectTaskItem($event, taskItem)" [checked] = " taskItem . i...