我的magento商店(准备投入生产)一直都很好,直到今天我将SSL添加到apache服务器。SSL安装与地址栏中显示的挂锁很好。
问题是在单击\“签出”之后,服务器转到https并返回(我已经重写了)
https://www.thedomain.com/checkout/onepage/
已禁用
您没有在此服务器上访问/index.php的权限。
Apache/2.2.22 (Ubuntu)服务器443港
在没有SSL连接的情况下,一页签出正常工作。
我的ssl配置文件(存储SSL密钥/证书位置)如下所示:
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory \\\"/usr/lib/cgi-bin\\\">
AllowOverride All
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined
# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLEngine on
....
....
<FilesMatch \\\"\\\\.(cgi|shtml|phtml|php)$\\\">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory /usr/lib/cgi-bin>
SSLOptions +StdEnvVars
</Directory>
BrowserMatch \\\"MSIE [2-6]\\\” \\\\
nokeepalive ssl-unclean-shutdown \\\\
downgrade-1.0 force-response-1.0
# MSIE 7 and newer should be able to use keepalive
BrowserMatch \\\"MSIE [17-9]\\\” ssl-unclean-shutdown
</VirtualHost>
</IfModule>apache错误日志中没有添加任何内容。
由于它在没有SSL的情况下运行良好,所以问题必须是由SSL配置引起的,因此我已经将SSL vhost设置与非SSL vhost进行了比较,但仍然没有运气。
有人提供帮助吗?这是这家商店上线前的最后一步,…
发布于 2013-10-30 17:29:49
上升后的error_log显示:
非默认的虚拟主机( SSLVerify设置为“require”和VirtualHost特定于CA证书列表)仅适用于支持TLS服务器名称指示(SNI)的客户端。
注释掉SSLVerify require in httpd.conf已经解决了这个问题。
发布于 2013-04-23 06:43:45
尝试使用精确的url为例如https://www.yourdomain.com设置后端的安全基url。
https://stackoverflow.com/questions/15730624
复制相似问题