Skip to main content

Changing AppServ Path Directory

Usually when we install AppServ on our machine Important instructions for installation are Use the given value in the program as the best, which will allow us to The directory that stores files on our device is "C:\AppServ\www" which, if we want to change this file store to another place Let us do as follows

Go to Start Menu -> Programs -> AppServ -> Apache Configure Server -> Edit the Apache httpd.conf Configuration File.
Clicking will open the file httpd.conf and edit it with NotePad.
Let us use Replace to search and replace. "C:/AppServ/www" with the new directory name that we want. For example, "D:/www", every character is assigned to the new directory "D:\www"
After that, save the file to the same name and then restart the Apache is complete.

Now that we have a new directory that holds our files as "D:\www" as needed, let us put the index.php file into this directory. And then test by typing http://localhost on IE right away

Note the address of other directories. In directory C:\AppServ\www Will also be changed to this new directory such as cgi-bin etc.

Advice for those who are looking for a Sever Sever emulator. Apache is an easy to use program. Most of all, just finished Setup and can be used immediately. If you use the values ​​given in the program, in addition, this program can run under WinXP as well. After the installation is complete, the program will launch Strat Appsever. A Fire Wall window will appear for us to click on UnBlock. Yes

Comments

Popular posts from this blog

What is chmod

chmod is a command on UNIX systems. It is used to allow file permissions. Or folders About what someone can do Which is divided into 3 groups which are 1. The owner of the file (owner) 2. File owner group 3. General users, external (public) Which can specify that each group can 1. Can read the file or download the file in that directory (read) 2. Write a file or create a file or directory in that directory (write) 3. The file can be processed (execute). For example, if you want any directory Can create files into directories We have to give permission to the directory to write (or write) or if we want any files to be Can only read Set the file to read (read) and if you want the file to be rewritten or deleted Must grant rights to that file Can read (write) owner group public 4 read read read 2 write write write 1 execute execute execute a sample 1.  chmod 666 is set to that file Read +...

Console API In JavaScript

From system development using JavaScript and NodeJS Found that using the command console.log() is a lot Often, the result is not as desired. Therefore introducing a little more Console Console usage Let's get started. Basic Console API In JavaScript Most will find in the debug of the work system as follows. console.log () encountered the most. console.warn () console.error () Let's look at some other useful methods. 1. Console.table() Display data of objects and arrays in a tabular format. Which is easy to read and easy to understand. 2. Console.assert() Check the submitted value to be true or false. If the value entered is false and will write a log for us to see But if true it will not display the log The false value consists of 0, false, blank, etc. 3. Console.count() For counting values or counting work times Very useful when we debug a system. Especially those with a strange life cycle will make us understand work more easily Which will be used to...