【发布时间】:2016-08-05 06:28:56
【问题描述】:
我已在我的 bitnami 谷歌云主机上安装 SSL 认证。
证书已安装,甚至
我可以访问:
https://domain.com
但是当我尝试访问时
https://domain.com/xyz
它给我 404 未找到错误
下面是我的binami.conf文件
<VirtualHost *:443>
SSLEngine on
SSLCertificateFile "/opt/bitnami/apache2/conf/server.crt"
SSLCertificateKeyFile "/opt/bitnami/apache2/conf/server.key"
DocumentRoot "/opt/bitnami/apache2/htdocs/domain/public/"
<Directory "/opt/bitnami/apache2/htdocs/htdocs/domain/public/">
Options FollowSymLinks MultiViews
AddLanguage en en
LanguagePriority en
ForceLanguagePriority Prefer Fallback
AllowOverride All
<IfVersion < 2.3 >
Order allow,deny
Allow from all
</IfVersion>
<IfVersion >= 2.3 >
Require all granted
</IfVersion>
</Directory>
# Error Documents
ErrorDocument 503 /503.html
# Bitnami applications installed with a prefix URL (default)
Include "/opt/bitnami/apache2/conf/bitnami/bitnami-apps-prefix.conf"
</VirtualHost>
谁能帮帮我,出了什么问题
更多信息
我正在使用带有 Bitnami LAMP 堆栈的谷歌云平台
【问题讨论】:
-
但是你能不能访问
http://domain.com/xyz这是个问题,例如一个有效的 url,如果不是 SSL 没有区别。 -
是的,它是一个有效的 URL,当我使用没有 https 的网站时,一切都在运行 find
-
我们真的需要查看
.conf的<VirtualHost *:80>文件,https 站点上可能缺少一些重写。
标签: php apache ssl google-cloud-platform bitnami