![]() |
Question:How do I configure Apache? AnswerMost of the configuration of Apache is done using the Server Admin program. Apache fully supports hosting multiple domains on a single IP address. For a full list of documentation, visit the Apache web site.There are times, however, when you may need to edit the configuration files directly. Typically, Apache uses a single configuration file called httpd.conf. Under MOSXS, a portion of the configuration (Virtual Hosts) is broken out into a custom file that the Server Admin program manipultes. These 2 files are located here: /etc/httpd/httpd.conf Some examples of changes to the configuration that might be needed:
Most cases, you will want to create your own separate file to place any custom configuration directives in and then place a single line in the httpd.conf file to include that file: Include /private/etc/httpd/myhttpd.conf This will save you from potentially losing your customizations when Apple releases an update to the server that overwrites the files. |
|
FAQ Home | MacOSXS Home | Page last updated: |