Thứ Tư, 10 tháng 2, 2016

Creating Virtual Directory In Apache

Usually, we have to put our web application inside the document root of Apache in order to make the application accessible from the network. However, there is a trick to make the web application still accessible even though we put it outside of Apache's document root. Yes, this can be done by creating a virtual directory.

Usually, we have to put our web application inside the document root of Apache in order to make the application accessible from the network. However, there is a trick to make the web application still accessible even though we put it outside of Apache's document root. Yes, this can be done by creating a virtual directory.
 
Apache mod_alias
 

Thứ Sáu, 5 tháng 2, 2016

How to Change localhost to a Domain Name

Redirecting the Web Site to Your Computer


1) Locate your hosts file. In Windows XP, this file is located in C:\WINDOWS\system32\drivers\etc
2) Open the file with a plain text editor (like Notepad++). Using a word processor, like Word, can mess up the file when you save it
3) Add lines containing the domain name(s) and IP address to redirect to.