Posted by TodayRatha in
on
-
1- Enable Virtual Host in Apache httpd.conf
Start->Programs->Apache HTTP Server->Configure Apache Server->Edit the Apache httpd.conf Configuration File
or goto httpd.conf folder of Apache Installed Folder
Find this #Include conf/extra/httpd-vhosts.conf (Ctrl + F, type this, Enter)
Then remove # from the line
so it should beInclude conf/extra/httpd-vhosts.conf
2- Folder Security
Still in httpd.conf
Find where similar of this code are:
then put this element after existed one:
Note: c:\My sites is the path of your website[Directory "C:\ My Sites "]
Order Deny,Allow
Allow from all
[/Directory]
3- Create Virtual Host in
httpd-vhosts.conf
open httpd-vhosts.conf then put this element at the bottom
[VirtualHost 127.0.0.1]
DocumentRoot "C:\My Sites\Site1"
ServerName site1.local
[/VirtualHost]
4- Resolving the DNS issue
goto
C:\WINNT\system32\drivers\etc\hosts
or
C:\Windows\system32\drivers\etc\hosts
Put this code in
127.0.0.1 site1.local
Finally restart apache
Category List
- Actionscript 3 (2)
- Digital Painting (1)
- Life style (1)
- Photoshop (1)
- Sencha Touch (1)
Blog Archive
-
▼
2010
(50)
-
▼
February
(9)
- Flash AS3 | Get Actual Width and Hight of Rotated ...
- Flash AS3 | Get Width and Height of Rotated Object
- Apache | Virtual Host Configuration
- AS3 Retrieve Flash Vars & HTML put Flash (swfObject)
- Flash AS3 | XML return value with the name of node
- Flash AS3 | Draw Squar
- Flash AS3 | Change color of movieclip with TINT
- Flash AS3 | Load External Images in Flash vr. 2
- Flash AS3 | Loading External Images in Flash
-
▼
February
(9)