首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Magento签出页面没有SSL,但是HTTPS返回403,您没有在此服务器上访问/index.php的权限。

Magento签出页面没有SSL,但是HTTPS返回403,您没有在此服务器上访问/index.php的权限。
EN

Stack Overflow用户
提问于 2013-03-31 14:47:04
回答 2查看 2.1K关注 0票数 2

我的magento商店(准备投入生产)一直都很好,直到今天我将SSL添加到apache服务器。SSL安装与地址栏中显示的挂锁很好。

问题是在单击\“签出”之后,服务器转到https并返回(我已经重写了)

https://www.thedomain.com/checkout/onepage/

已禁用

您没有在此服务器上访问/index.php的权限。

Apache/2.2.22 (Ubuntu)服务器443港

在没有SSL连接的情况下,一页签出正常工作。

我的ssl配置文件(存储SSL密钥/证书位置)如下所示:

代码语言:javascript
复制
<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进行了比较,但仍然没有运气。

有人提供帮助吗?这是这家商店上线前的最后一步,…

EN

回答 2

Stack Overflow用户

发布于 2013-10-30 17:29:49

上升后的error_log显示:

非默认的虚拟主机( SSLVerify设置为“require”和VirtualHost特定于CA证书列表)仅适用于支持TLS服务器名称指示(SNI)的客户端。

注释掉SSLVerify require in httpd.conf已经解决了这个问题。

票数 1
EN

Stack Overflow用户

发布于 2013-04-23 06:43:45

尝试使用精确的url为例如https://www.yourdomain.com设置后端的安全基url。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/15730624

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档