Centos

magento 安裝成功,但前端出現 apache 歡迎頁面

  • June 25, 2021

我在 ionos 有一個 VPS,一個 centos 8 os。我已經安裝了 LAMP、elsticsearch、rabbit 等…我在 namecheaped.com 上為我的域提供了 SSL EV:ortie-bio.fr 和www.ortie-bio.fr 我已按照此教程安裝 Magento 開源 2.4 .2: https ://www.linode.com/docs/guides/install-magento-2-4-on-centos-8/ 最後我確實選擇了作曲家安裝,如下所述: https://devdocs .magento.com/guides/v2.4/install-gde/composer.html Magento 安裝成功完成,但是當我在瀏覽器中轉到 ortie-bio.fr 時,它出現了預設的 apache 歡迎頁面……我確實使用 etc/httpd/conf 目錄作為我的證書,也許而不是 etc/ssl 目錄但我已經測試並且它可以工作,正如您在下面看到的那樣,我在 public_html 目錄中放置了一個 index.html:https ://www.ortie-bio.fr/index.html 在我的安裝命令中,我有:

--base-url=https://www.ortie-bio.fr/  --use-rewrites=1 --use-secure=1 --base-url-secure=https://www.ortie-bio.fr/ --use-secure-admin=1

有任何想法嗎?

我自己做了很多事情,所以我不知道是什麼問題……不是安裝 ssl 證書,檢查器沒問題: https ://decoder.link/sslchecker/ortie-bio .fr/443 我查看了站點可用目錄中的配置文件 ssl.conf、vhost.conf、*.conf,… AllowEncodedSlashes NoDecode問題?重定向問題?…: https : //www.namecheap.com/support/knowledgebase/article.aspx/9821/38/apache-redirect-to-https/ 我們必須使用http安裝並進入magento的配置配置https?… https://www.linode.com/docs/guides/install-magento-2-4-on-centos-8/ 我不知道我做了什麼,但現在可以了,抱歉沒有人能幫助我對不起,我不能更準確地幫助任何人……

引用自:https://serverfault.com/questions/1067494