У меня проблемы при попытке добавить сообщение на сайт Wordpress.Этот сайт работает в схеме с использованием fastcgi, внутри поддоменов, таких как email.medialab.ufg.br.Похоже, что проблемы связаны с доступом к файлам .js и .css из плагина Wordpress.Вот сообщение об ошибке:
[Fri Jun 08 13:45:44.000087 2018] [access_compat:error] [pid 32401] [client 200.137.195.149:63863] AH01797: client denied by server configuration: /home/l3p/apache_sites/email.medialab.ufg.br/web/wp-content/plugins/advanced-custom-fields-pro/assets/inc/timepicker/jquery-ui-timepicker-addon.min.js, referer: https://email.medialab.ufg.br/wp-admin/post-new.php?gutenberg-demo
Файл .htaccess сайта имеет следующую конфигурацию: **
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
И файл виртуального хоста следующей конфигурации:
<VirtualHost *:80>
DocumentRoot /home/l3p/apache_sites/email.medialab.ufg.br/web
ServerName email.medialab.ufg.br
ServerAlias www.email.medialab.ufg.br
ServerAdmin webmaster@email.medialab.ufg.br
ErrorLog /var/log/ispconfig/httpd/email.medialab.ufg.br/error.log
Alias /error/ "/home/l3p/apache_sites/email.medialab.ufg.br/web/error/"
ErrorDocument 400 /error/400.html
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 405 /error/405.html
ErrorDocument 500 /error/500.html
ErrorDocument 502 /error/502.html
ErrorDocument 503 /error/503.html
<Directory /home/l3p/apache_sites/email.medialab.ufg.br/web>
# Clear PHP settings of this website
<FilesMatch ".+\.ph(p[345]?|t|tml)$">
SetHandler None
</FilesMatch>
Options +FollowSymLinks +Indexes +Multiviews
AllowOverride All
Require all granted
</Directory>
<Directory /home/l3p/apache_sites/clients/client1/web73/web>
# Clear PHP settings of this website
<FilesMatch ".+\.ph(p[345]?|t|tml)$">
SetHandler None
</FilesMatch>
Options +FollowSymLinks
AllowOverride All
Require all granted
</Directory>
# suexec enabled
<IfModule mod_suexec.c>
SuexecUserGroup web73 client1
</IfModule>
# php as fast-cgi enabled
# For config options see: http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html
<IfModule mod_fcgid.c>
FcgidIdleTimeout 300
FcgidProcessLifeTime 3600
# FcgidMaxProcesses 1000
FcgidMaxRequestsPerProcess 5000
FcgidMinProcessesPerClass 0
FcgidMaxProcessesPerClass 10
FcgidConnectTimeout 3
FcgidIOTimeout 600
FcgidBusyTimeout 3600
FcgidMaxRequestLen 1073741824
</IfModule>
<Directory /home/l3p/apache_sites/email.medialab.ufg.br/web>
<FilesMatch "\.php[345]?$">
SetHandler fcgid-script
</FilesMatch>
FCGIWrapper /var/www/php-fcgi-scripts/web73/.php-fcgi-starter .php
FCGIWrapper /var/www/php-fcgi-scripts/web73/.php-fcgi-starter .php3
FCGIWrapper /var/www/php-fcgi-scripts/web73/.php-fcgi-starter .php4
FCGIWrapper /var/www/php-fcgi-scripts/web73/.php-fcgi-starter .php5
Options +ExecCGI
AllowOverride All
Require all granted
</Directory>
<Directory /home/l3p/apache_sites/clients/client1/web73/web>
<FilesMatch "\.php[345]?$">
SetHandler fcgid-script
</FilesMatch>
FCGIWrapper /var/www/php-fcgi-scripts/web73/.php-fcgi-starter .php
FCGIWrapper /var/www/php-fcgi-scripts/web73/.php-fcgi-starter .php3
FCGIWrapper /var/www/php-fcgi-scripts/web73/.php-fcgi-starter .php4
FCGIWrapper /var/www/php-fcgi-scripts/web73/.php-fcgi-starter .php5
Options +ExecCGI
AllowOverride All
Require all granted
</Directory>
# add support for apache mpm_itk
<IfModule mpm_itk_module>
AssignUserId web73 client1
</IfModule>
<IfModule mod_dav_fs.c>
# Do not execute PHP files in webdav directory
<Directory /home/l3p/apache_sites/clients/client1/web73/webdav>
<ifModule mod_security2.c>
SecRuleRemoveById 960015
SecRuleRemoveById 960032
</ifModule>
<FilesMatch "\.ph(p3?|tml)$">
SetHandler None
</FilesMatch>
</Directory>
DavLockDB /home/l3p/apache_sites/clients/client1/web73/tmp/DavLock
# DO NOT REMOVE THE COMMENTS!
# IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
# WEBDAV BEGIN
# WEBDAV END
</IfModule>
Есть идеи, что может происходить?Как решить проблему?