My laptop is getting slow when I run IIS7 and CF9. Honestly, the physical memory of my laptop is just 2G and happening so because of lack of memory. That's why I need to remove IIS7 and install Apache as my web-server. Before installing Apache in window 7, I though it's difficult to install and configure because my OS is window. As we all know, the configuration setting in Apache isn't same as IIS because IIS GUI is quite nice for developers and don't need to configure like add codings in Apache. In Apache, it's a bit messy but I can cool.

Here is the instruction guide of Installation Apache.

1) Download Apache installer

You can download installer under this link Download Apache Installer. For me, my downloaded file is httpd-2.2.17-win32-x86-no_ssl.msi.

2) Install Apache

Install Apache. When you reach the following screen (Server Information)

Server Information

Above screen, we need to fill-up the information of our web-server. Here is my simple information of my web-server.

Network Domain : ppshein.net

Server Name : www.ppshein.net

Administrator Email's address : youremail address

 

3) Change Directory

After above screen, you will reach the directory setting of Apache server. Generally, default directory is under c:\ but I don't want to put my server directory under c:\ because it's not safe and might gone if we format my laptop. That's why I've created new directory called "Server" in my E:\.

Change Folder

Then put foldername : E:\Server\

After passing one or two screen, it will be finished installation.

 

After installation, you can browser your apache server as follow : http://localhost. Once you typing the URL address, you will reach the following screen.

Works

 

Once you get this screen, it means that your apache server is 100% working. Now, let's go to another part called "Create Virtual Directory" in Apache like IIS.

 

4) Create Virtual Directory

First of all, you need to find httpd.conf file in Apache server. For me, I need to find this file in E:\Server\conf because I've changed server folder under E:\. Open this file and find <Directory /> tag. Then, you need to put the following codings above or below this tag. For me, I've put the codes above this tag.

 

view plain print about
1Alias /POS "E:\Project\POS"
2<Directory "E:\Project\POS">
3Options Indexes FollowSymLinks MultiViews ExecCGI
4AllowOverride All
5Order allow,deny
6Allow from all
7</Directory>

/POS is alias

E:\Project\POS is your project directory.

Then, restart your Apache server and type the following URL into address bar. http://localhost/POS/

After that, your project will be come out. If your default document of project is index.html, this index.html will be rendering. If not, you will see the directory list of your project. If your default document file isn't index.html, you need to configure default document in the same httpd.conf file. Open this config file and search the following tag <IfModule dir_module>. In this tag, you will see as follow DirectoryIndex index.html. It means the default document is index.html. So, we need to add our default document into this line as follow.

 

view plain print about
1<IfModule dir_module>
2DirectoryIndex index.cfm index.html
3</IfModule>

Above code, I've put index.cfm as my default document. Then, restart your Apache and run it again. After that, your project will be successfully rendering.

NOW, Apache is in Window 7 is successfully running.