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
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
Very simple permission settings, that is, access to the site will be pop-up username and password, through the authentication can be normal browsing, the following figure.
In Apache and Windows2003 is also very convenient to configure, mainly
First, modify the Apache default Site Directory
After the Apache HTTP server is installed, the default site directory is located in the Htdocs folder under its installation directory, and the default home page is the index.html file for that folder.
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
Environment configuration:Apache installation directory: d: www-sapachePhp Directory: d: www-sphp5Mysql Directory: d: www-smysqlWebsite root directory: d: wwwhtdocsUsers used to run Apache: apache-u (not affiliated to any user group)PS: Here we only
I. INTRODUCTION of Apache1. What is Apache?Apache is the world's most used Web server software. It can run on almost all widely used computer platforms and is one of the most popular Web server-side software due to its widespread use across
Configuration of the environment:Apache installation directory: D:\www-s\apachePHP Directory: D:\WWW-S\PHP5MySQL directory: d:\www-s\mysqlSite Root: D:\www\htdocs
Users who are specifically running Apache run: Apache-u (not affiliated to any user
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.