[英]Magento SSL Checkout - not found
I have a valid SSL certificate installed on a managed server. 我在受管服务器上安装了有效的SSL证书。 I enable ssl by going system->configuration->web and setting "Secure"-> Base Url: https://www.mydomain.com and changing "Use Secure URLs in Frontend": Yes.
我可以通过以下方式启用ssl:系统->配置->网络并设置“安全”->基本网址: https : //www.mydomain.com并更改“在前端使用安全URL”:是。
When I try and checkout it redirects to https://www.mydomain.com/checkout/onepage/ . 当我尝试签出时,它会重定向到https://www.mydomain.com/checkout/onepage/ 。 This page cannot be found...
找不到此页面...
The thing is there is a secure directory on the server (public_ssl) and non secure (public html), should the public_ssl directory be empty? 问题是服务器上有一个安全目录(public_ssl),有一个不安全目录(public html),public_ssl目录应该为空吗? How is magento suppose to asccess files that aren't there?
magento如何处理未存在的文件?
I have tried copying over the index.php, .htaccess, skin, js & media folders/files to public_ssl, which works but then the media isn't updated when I upload a product image etc... 我曾尝试将index.php,.htaccess,皮肤,js和媒体文件夹/文件复制到public_ssl,这可以正常工作,但是当我上传产品图片等时,媒体不会更新。
(I edited the index.php "MAGENTO_ROOT" global to find the appropriate files...) (我编辑了index.php“ MAGENTO_ROOT”全局以找到适当的文件...)
Am I Missing something? 我想念什么吗?
The best solution is to contact you hosting provider. 最好的解决方案是与您的托管服务提供商联系。 They may be able to modify the way their ssl is configured ( https://serverfault.com/questions/429634/restrict-apache-to-only-allow-access-using-ssl-for-some-directories ) or use a symlink so that the content will be shared between public_ssl and your public html folder.
他们可以修改ssl的配置方式( https://serverfault.com/questions/429634/restrict-apache-to-only-allow-access-using-ssl-for-some-directories )或使用符号链接,以便在public_ssl和您的公共html文件夹之间共享内容。
Also, for better site performance it's always best to host you magento website on a service provider who specializes in magento hosting. 另外,为了获得更好的网站性能,最好将magento网站托管在专门从事magento托管的服务提供商上。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.