How can I get apache to include all files from a folder

I know I can do it

Include "/usr/local/apache/conf/php.conf" 

How can I get apache to upload all files to some dir like

 Include /usr/mydir/* 
+6
source share
1 answer

You can do:

 Include dir/* 

For example, modules are included in Debian in this way: from apache2.conf :

 # Include module configuration: Include mods-enabled/*.load Include mods-enabled/*.conf 
+6
source

Source: https://habr.com/ru/post/948522/


All Articles