2020-06-27 13:25:13 +02:00
|
|
|
# By default the /@name@ Alias is enabled for all vhosts.
|
|
|
|
# To disable the /@name@ Alias, run
|
|
|
|
# a2enflag -d @name@ && rcapache2 restart
|
|
|
|
# This will make /@name@ unavailable on any vhosts.
|
|
|
|
#
|
|
|
|
# If you want to have the /@name@ Alias only on a specific
|
|
|
|
# vhost, add the Alias to the config of that vhost.
|
2016-12-02 14:13:56 +01:00
|
|
|
|
2020-06-27 13:25:13 +02:00
|
|
|
<IfDefine @name@>
|
|
|
|
<IfModule mod_alias.c>
|
|
|
|
Alias /@name@ @ap_docroot@/@name@
|
2016-12-02 14:13:56 +01:00
|
|
|
</IfModule>
|
2020-06-27 13:25:13 +02:00
|
|
|
</IfDefine>
|
2016-12-02 14:13:56 +01:00
|
|
|
|
2020-06-27 13:25:13 +02:00
|
|
|
<Directory @ap_docroot@/@name@>
|
|
|
|
Options FollowSymLinks
|
|
|
|
AllowOverride None
|
2016-12-02 14:13:56 +01:00
|
|
|
|
|
|
|
<IfVersion < 2.4>
|
2020-06-27 13:25:13 +02:00
|
|
|
Order Allow,Deny
|
|
|
|
Allow from all
|
2016-12-02 14:13:56 +01:00
|
|
|
</IfVersion>
|
|
|
|
|
|
|
|
<IfVersion >= 2.4>
|
|
|
|
<IfModule !mod_access_compat.c>
|
2020-06-27 13:25:13 +02:00
|
|
|
Require all granted
|
2016-12-02 14:13:56 +01:00
|
|
|
</IfModule>
|
|
|
|
<IfModule mod_access_compat.c>
|
2020-06-27 13:25:13 +02:00
|
|
|
Order Allow,Deny
|
|
|
|
Allow from all
|
2016-12-02 14:13:56 +01:00
|
|
|
</IfModule>
|
|
|
|
</IfVersion>
|
|
|
|
|
2020-06-27 13:25:13 +02:00
|
|
|
<IfModule mod_php5.c>
|
|
|
|
Include @ap_sysconfdir@/conf.d/@name@.inc
|
|
|
|
php_admin_value open_basedir "@ap_docroot@/@name@:/var/lib/php5:/tmp:@docdir@/@name@:/etc/@name@"
|
|
|
|
</IfModule>
|
|
|
|
|
|
|
|
<IfModule mod_php7.c>
|
|
|
|
Include @ap_sysconfdir@/conf.d/@name@.inc
|
|
|
|
php_admin_value open_basedir "@ap_docroot@/@name@:/var/lib/php7:/tmp:@docdir@/@name@:/etc/@name@"
|
|
|
|
</IfModule>
|
|
|
|
|
2011-06-07 10:37:43 +02:00
|
|
|
</Directory>
|
|
|
|
|