Magento https 404

Magento https 404,magento,https,Magento,Https,我只是在我的商店上安装和配置SSL。通常情况下,我可以像这样获得产品详细信息 既然启用了https,我应该能够获得。但这并没有发生 但如果将test.html放在根目录中,并尝试通过或访问它。它起作用了 问题在于仅重写URL。原因可能是什么 谢谢这是其他问题,我刚从Apache vhost config中取出以下内容 <Directory /> Options FollowSymLinks AllowOverride None </Directory> &

我只是在我的商店上安装和配置SSL。通常情况下,我可以像这样获得产品详细信息

既然启用了https,我应该能够获得。但这并没有发生

但如果将test.html放在根目录中,并尝试通过或访问它。它起作用了

问题在于仅重写URL。原因可能是什么


谢谢

这是其他问题,我刚从Apache vhost config中取出以下内容

<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>
<Directory /path/to/web-root/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    allow from all
</Directory>

选项如下符号链接
不允许超限
选项索引跟随符号链接多视图
不允许超限
命令允许,拒绝
通融

它起作用了

我的apache配置中缺少虚拟主机配置

/etc/apache2/sites available/default ssl.conf

内容:

<VirtualHost *:443>
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/magento
    ServerName <my-domain>.com
    <Directory "/path/to/root-of-web-app">
        AllowOverride All
        Order allow,deny
        Allow from all
        Require all granted
    </Directory>
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
    SSLProtocol -all +TLSv1 +SSLv3
    SSLCipherSuite HIGH:MEDIUM:!aNULL:+SHA1:+MD5:+HIGH:+MEDIUM

    SSLCertificateKeyFile /home/server/Mohit/ssl_certs/server.key

            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>


服务器管理员webmaster@localhost
DocumentRoot/var/www/magento
ServerName.com
允许超越所有
命令允许,拒绝
通融
要求所有授权
ErrorLog${APACHE_LOG_DIR}/error.LOG
CustomLog${APACHE\u LOG\u DIR}/access.LOG组合
SSLProtocol-全部+TLSv1+SSLv3
SSLCipherSuite高:中:!aNULL:+SHA1:+MD5:+HIGH:+MEDIUM
SSLCertificateKeyFile/home/server/Mohit/ssl_certs/server.key
发展+标准
发展+标准
浏览器匹配“MSIE[2-6]”\
nokeepalive ssl不干净关闭\
降级-1.0力响应-1.0
#MSIE 7和更新版本应该能够使用keepalive
BrowserMatch“MSIE[17-9]”ssl不干净关闭

也许您有强制执行此操作的重写规则,但您没有从magento后端设置ssl设置。Vhost blocked.htaccess中的某些设置