1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-21 22:47:43 +00:00
Files
matomo/misc/cron/.htaccess
jorisdrenth 308a3465b9 Fix for Apache 2.4+ (#17387)
* Fix for Apache 2.4+

* Fix for Apache 2.4+ (update)

Updated as requested by @diosmosis
2021-04-11 15:22:11 -07:00

28 خطوط
807 B
ApacheConf

# Allow direct web access to Web cron
<IfModule mod_version.c>
<IfVersion < 2.4>
<Files "archive.php">
Order Allow,Deny
Allow from all
</Files>
</IfVersion>
<IfVersion >= 2.4>
<Files "archive.php">
Require all granted
</Files>
</IfVersion>
</IfModule>
<IfModule !mod_version.c>
<IfModule !mod_authz_core.c>
<Files "archive.php">
Order Allow,Deny
Allow from all
</Files>
</IfModule>
<IfModule mod_authz_core.c>
<Files "archive.php">
Require all granted
</Files>
</IfModule>
</IfModule>