我最近安装了SSL证书来保护我们的phpmyadminlogin和数据,因为它在公共互联网上。 这工作正常,但成功通过HTTPSlogin后,此消息出现在一个粉红色的框中:
Error in Processing Request Error code: 403 Error text: Forbidden
它不能被点击,没有别的工作,唯一的select是再次注销。 与此同时,Apache开始在访问日志中为/phpmyadmin/error_report.php?ajax_request=true
logging大量403
错误:
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
我的Apacheconfiguration目录如下所示:
<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,Apache 2.4.7和PHP 5.5.9,来自Comodo SSL的SSL证书。
非常感谢任何帮助,到目前为止,我所能find的allow from all
build议都是设置allow from all
,我已经做了,或build议AJAX和SSL不兼容。 由于phpmyadmin完全基于AJAX,这是否意味着无法通过HTTPS运行?
谢谢!