port.conf文件是让httpd监听某些端口
[root@controller conf]# pwd
/etc/httpd/conf
[root@controller conf]# cat ports.conf
# ************************************
# Listen & NameVirtualHost resources in module puppetlabs-apache
# Managed by Puppet
# ************************************
Listen 0.0.0.0:8778
Listen 5000
Listen 80
Listen 8041
Listen 8042
Listen 8777
magic文件,是使用前面的几个字符,用来判断文件是什么类型的”数据库“
[root@controller conf]# head magic
# Magic data for mod_mime_magic Apache module (originally for file(1) command)
# The module is described in /manual/mod/mod_mime_magic.html
#
# The format is 4-5 columns:
# Column #1: byte number to begin checking from, ">" indicates continuation
# Column #2: type of data to match
# Column #3: contents of data to match
# Column #4: MIME type of result
# Column #5: MIME encoding of result (optional)
httpd.conf中的配置
Require
IfModule
SetEnvIf
https://blogs.apache.org/httpd/entry/require_and_friends
https://httpd.apache.org/docs/trunk/mod/mod_setenvif.html