什么什么怎么办
不非要用系统自带默认的
我发一份我的,没改过
```
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:
http://httpd.apache.org/docs/2.4/> for detailed information.
# In particular, see
# <URL:
http://httpd.apache.org/docs/2.4/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path. If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "logs/access_log"
# with ServerRoot set to "/usr/local/apache2" will be interpreted by the
# server as "/usr/local/apache2/logs/access_log", whereas "/logs/access_log"
# will be interpreted as '/logs/access_log'.
#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# Do not add a slash at the end of the directory path. If you point
# ServerRoot at a non-local disk, be sure to specify a local disk on the
# Mutex directive, if file-based mutexes are used. If you wish to share the
# same ServerRoot for multiple httpd daemons, you will need to change at
# least PidFile.
#
ServerRoot "/usr"
#
# Mutex: Allows you to set the mutex mechanism and mutex file directory
# for individual mutexes, or change the global defaults
#
# Uncomment and change the directory if mutexes are file-based and the default
# mutex file directory is not on a local disk or is not appropriate for some
# other reason.
#
# Mutex default:/private/var/run
#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 80
#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
# Example:
# LoadModule foo_module modules/
mod_foo.so#
LoadModule authn_file_module libexec/apache2/
mod_authn_file.so#LoadModule authn_dbm_module libexec/apache2/
mod_authn_dbm.so#LoadModule authn_anon_module libexec/apache2/
mod_authn_anon.so#LoadModule authn_dbd_module libexec/apache2/
mod_authn_dbd.so#LoadModule authn_socache_module libexec/apache2/
mod_authn_socache.soLoadModule authn_core_module libexec/apache2/
mod_authn_core.soLoadModule authz_host_module libexec/apache2/
mod_authz_host.soLoadModule authz_groupfile_module libexec/apache2/
mod_authz_groupfile.soLoadModule authz_user_module libexec/apache2/
mod_authz_user.so#LoadModule authz_dbm_module libexec/apache2/
mod_authz_dbm.so#LoadModule authz_owner_module libexec/apache2/
mod_authz_owner.so#LoadModule authz_dbd_module libexec/apache2/
mod_authz_dbd.soLoadModule authz_core_module libexec/apache2/
mod_authz_core.so#LoadModule authnz_ldap_module libexec/apache2/
mod_authnz_ldap.soLoadModule access_compat_module libexec/apache2/
mod_access_compat.soLoadModule auth_basic_module libexec/apache2/
mod_auth_basic.so#LoadModule auth_form_module libexec/apache2/
mod_auth_form.so#LoadModule auth_digest_module libexec/apache2/
mod_auth_digest.so#LoadModule allowmethods_module libexec/apache2/
mod_allowmethods.so#LoadModule file_cache_module libexec/apache2/
mod_file_cache.so#LoadModule cache_module libexec/apache2/
mod_cache.so#LoadModule cache_disk_module libexec/apache2/
mod_cache_disk.so#LoadModule cache_socache_module libexec/apache2/
mod_cache_socache.so#LoadModule socache_shmcb_module libexec/apache2/
mod_socache_shmcb.so#LoadModule socache_dbm_module libexec/apache2/
mod_socache_dbm.so#LoadModule socache_memcache_module libexec/apache2/
mod_socache_memcache.so#LoadModule watchdog_module libexec/apache2/
mod_watchdog.so#LoadModule macro_module libexec/apache2/
mod_macro.so#LoadModule dbd_module libexec/apache2/
mod_dbd.so#LoadModule dumpio_module libexec/apache2/
mod_dumpio.so#LoadModule echo_module libexec/apache2/
mod_echo.so#LoadModule buffer_module libexec/apache2/
mod_buffer.so#LoadModule data_module libexec/apache2/
mod_data.so#LoadModule ratelimit_module libexec/apache2/
mod_ratelimit.soLoadModule reqtimeout_module libexec/apache2/
mod_reqtimeout.so#LoadModule ext_filter_module libexec/apache2/
mod_ext_filter.so#LoadModule request_module libexec/apache2/
mod_request.so#LoadModule include_module libexec/apache2/
mod_include.soLoadModule filter_module libexec/apache2/
mod_filter.so#LoadModule reflector_module libexec/apache2/
mod_reflector.so#LoadModule substitute_module libexec/apache2/
mod_substitute.so#LoadModule sed_module libexec/apache2/
mod_sed.so#LoadModule charset_lite_module libexec/apache2/
mod_charset_lite.so#LoadModule deflate_module libexec/apache2/
mod_deflate.so#LoadModule xml2enc_module libexec/apache2/
mod_xml2enc.so#LoadModule proxy_html_module libexec/apache2/
mod_proxy_html.soLoadModule mime_module libexec/apache2/
mod_mime.so#LoadModule ldap_module libexec/apache2/
mod_ldap.soLoadModule log_config_module libexec/apache2/
mod_log_config.so#LoadModule log_debug_module libexec/apache2/
mod_log_debug.so#LoadModule log_forensic_module libexec/apache2/
mod_log_forensic.so#LoadModule logio_module libexec/apache2/
mod_logio.soLoadModule env_module libexec/apache2/
mod_env.so#LoadModule mime_magic_module libexec/apache2/
mod_mime_magic.so#LoadModule expires_module libexec/apache2/
mod_expires.soLoadModule headers_module libexec/apache2/
mod_headers.so#LoadModule usertrack_module libexec/apache2/
mod_usertrack.so##LoadModule unique_id_module libexec/apache2/
mod_unique_id.soLoadModule setenvif_module libexec/apache2/
mod_setenvif.soLoadModule version_module libexec/apache2/
mod_version.so#LoadModule remoteip_module libexec/apache2/
mod_remoteip.soLoadModule proxy_module libexec/apache2/
mod_proxy.soLoadModule proxy_connect_module libexec/apache2/
mod_proxy_connect.soLoadModule proxy_ftp_module libexec/apache2/
mod_proxy_ftp.soLoadModule proxy_http_module libexec/apache2/
mod_proxy_http.soLoadModule proxy_fcgi_module libexec/apache2/
mod_proxy_fcgi.soLoadModule proxy_scgi_module libexec/apache2/
mod_proxy_scgi.so#LoadModule proxy_fdpass_module libexec/apache2/
mod_proxy_fdpass.soLoadModule proxy_wstunnel_module libexec/apache2/
mod_proxy_wstunnel.soLoadModule proxy_ajp_module libexec/apache2/
mod_proxy_ajp.soLoadModule proxy_balancer_module libexec/apache2/
mod_proxy_balancer.soLoadModule proxy_express_module libexec/apache2/
mod_proxy_express.so#LoadModule session_module libexec/apache2/
mod_session.so#LoadModule session_cookie_module libexec/apache2/
mod_session_cookie.so#LoadModule session_dbd_module libexec/apache2/
mod_session_dbd.soLoadModule slotmem_shm_module libexec/apache2/
mod_slotmem_shm.so#LoadModule slotmem_plain_module libexec/apache2/
mod_slotmem_plain.so#LoadModule ssl_module libexec/apache2/
mod_ssl.so#LoadModule dialup_module libexec/apache2/
mod_dialup.soLoadModule lbmethod_byrequests_module libexec/apache2/
mod_lbmethod_byrequests.soLoadModule lbmethod_bytraffic_module libexec/apache2/
mod_lbmethod_bytraffic.soLoadModule lbmethod_bybusyness_module libexec/apache2/
mod_lbmethod_bybusyness.so#LoadModule lbmethod_heartbeat_module libexec/apache2/
mod_lbmethod_heartbeat.soLoadModule unixd_module libexec/apache2/
mod_unixd.so#LoadModule heartbeat_module libexec/apache2/
mod_heartbeat.so#LoadModule heartmonitor_module libexec/apache2/
mod_heartmonitor.so#LoadModule dav_module libexec/apache2/
mod_dav.soLoadModule status_module libexec/apache2/
mod_status.soLoadModule autoindex_module libexec/apache2/
mod_autoindex.so#LoadModule asis_module libexec/apache2/
mod_asis.so#LoadModule info_module libexec/apache2/
mod_info.so#LoadModule cgi_module libexec/apache2/
mod_cgi.so#LoadModule dav_fs_module libexec/apache2/
mod_dav_fs.so#LoadModule dav_lock_module libexec/apache2/
mod_dav_lock.so#LoadModule vhost_alias_module libexec/apache2/
mod_vhost_alias.soLoadModule negotiation_module libexec/apache2/
mod_negotiation.soLoadModule dir_module libexec/apache2/
mod_dir.so#LoadModule imagemap_module libexec/apache2/
mod_imagemap.so#LoadModule actions_module libexec/apache2/
mod_actions.so#LoadModule speling_module libexec/apache2/
mod_speling.so#LoadModule userdir_module libexec/apache2/
mod_userdir.soLoadModule alias_module libexec/apache2/
mod_alias.so#LoadModule rewrite_module libexec/apache2/
mod_rewrite.so#LoadModule php5_module libexec/apache2/
libphp5.soLoadModule hfs_apple_module libexec/apache2/
mod_hfs_apple.so<IfModule unixd_module>
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User _www
Group _www
</IfModule>
```