我最近安装的SSL证书,以确保我们的phpmyadmin登录和数据,因为它是公共互联网上。 这工作得很好,但之后通过HTTPS成功登录出现在一个粉红色的盒子这样的信息:
Error in Processing Request
Error code: 403
Error text: Forbidden
它不能被点击的路程,没有别的办法,唯一的选择就是再次注销。 与此同时,阿帕奇开始记录的洪水403
误差为/phpmyadmin/error_report.php?ajax_request=true
在访问日志:
123.xxx.22.170 - - [10/Jun/2015:11:47:26 +0800] "POST /phpmyadmin/db_structure.php?ajax_request=1&favorite_table=1&sync_favorite_tables=1&token=-censored- HTTP/1.1" 403 589 "https://www.-censored-.org/phpmyadmin/index.php?collation_connection=utf8mb4_general_ci&token=-censored-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36"
123.xxx.22.170 - - [10/Jun/2015:11:47:26 +0800] "GET /phpmyadmin/error_report.php?ajax_request=true&server=1&token=-censored-&get_settings=true&exception_type=js&_nocache=1433908072362921249 HTTP/1.1" 403 589 "https://www.-censored-.org/phpmyadmin/index.php?collation_connection=utf8mb4_general_ci&token=-censored-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36"
123.xxx.22.170 - - [10/Jun/2015:11:47:27 +0800] "GET /phpmyadmin/error_report.php?ajax_request=true&server=1&token=-censored-&get_settings=true&exception_type=js&_nocache=143390807256911515 HTTP/1.1" 403 589 "https://www.-censored-.org/phpmyadmin/index.php?collation_connection=utf8mb4_general_ci&token=-censored-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36"
....etc
我的Apache配置的目录如下:
<Directory /var/www/www.--censored--.org/>
SSLOptions +StdEnvVars
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>
使用Ubuntu 14.04 LTS与手动phpMyAdmin安装4.4.7,2.4.7的Apache和PHP 5.5.9,从Comodo SSL SSL证书。
非常感谢您的帮助,所有我能找到这么远都建议设置allow from all
,我都做了,或建议,AJAX和SSL是不相容的。 由于phpMyAdmin是完全基于AJAX,这是否意味着它是不可能通过HTTPS运行?
谢谢!