我知道我可以做到这一点
Include "/usr/local/apache/conf/php.conf"
如何使apache加载某些目录中的所有文件,如
Include /usr/mydir/*
答案 0 :(得分:7)
你可以这样做:
Include dir/*
例如,在Debian
中,apache2.conf
:
# Include module configuration:
Include mods-enabled/*.load
Include mods-enabled/*.conf