How to set up multiple websites and bind different directories in the Apache server?
In fact, it is very simple to find httpd.conf in the server. This is the configuration file of Apache.SourceByrd's Weblog-https://note.t4x.org/basic/apache-config-virtualhost/
Assume that my domain name is www.selmy.org, and my bound directory is/var/www/docs/selmys/SourceByrd's Weblog-https://note.t4x.org/basic/apache-config-virtualhost/
Statement: Reprinted on the Internet, the copyright belongs to the original author!SourceByrd's Weblog-https://note.t4x.org/basic/apache-config-virtualhost/SourceByrd's Weblog-https://note.t4x.org/basic/apache-config-virtualhost/
Statement: unless otherwise specifiedByrd's BlogThe content is original. Reproduction without permission is prohibited!For details, please readCopyright Statement!