Article title: create a virtual root environment for Apache in Linux and Solaris. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded
Apache modifies the port number to modify the root directory to build multiple websites, Apache port number
Modify Apache Port numberSelect Httpd.conf under Apache, look for: Listen, you will see#Listen 12.34.56.78:80Listen 80Change 80 to 90, save
One, Apache main configuration file CommentApache master configuration file:/etc/httpd/conf/httpd.confDefault site home directory:/var/www/html/Apache server configuration information is stored in the main configuration
One, Apache main configuration file CommentApache master configuration file:/etc/httpd/conf/httpd.confDefault site home directory:/var/www/html/Apache server configuration information is stored in the main configuration
A profile controls all aspects of the server, so the three files need to be set up to run the server properly.
In addition to these three settings files, Apache uses the Mime.types file to identify different files
The corresponding MIME type, the
How to set the file root directory (documentroot) for Apache HTTP Server.
When Apache is installed, the system is given a default file root directory.
If you think it is inconvenient to have a Web page in this default directory, think that you
Configuration files control all aspects of the server, so you need to set these three files for normal operation of the server.
In addition to these three settings files, Apache uses the mime. types file to identify different files.For the
Apache + mysql + phpforlinux
Download MySQL, php, and apacheWhich kits are required for setting up such a host? Not Apache, MySQL, or PHP!
Apache: Apache version 2.0.X has been released, but 1.3.X is the most widely used version. Apache version 1
To disable Apache from displaying the directory structure list, you only need to remove Indexes from Option.For example, let's look at the Directory configuration of a directory: The code is as follows:Copy code Options Indexes FollowSymLinks
We are very grateful to all our readers for replying to our new Linux interview chapter. now we have started to learn about the interview questions and the chapters on the basic to intermediate Apache interview questions that we are paying attention
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.