【问题标题】:remove index.php from url: google cloud从 url 中删除 index.php:谷歌云
【发布时间】:2018-10-21 16:20:18
【问题描述】:

我正在使用谷歌云计算引擎来托管我的网站。

我想从 url 中删除 index.php,而且 google cloud 不支持 .htaccess。

http://domain_name.com/index.php/home

http://domain_name.com/home

【问题讨论】:

  • this 是您要找的吗?
  • 你能分享你的app.yaml 吗?没有检查云标签
  • @Script47 能否请您指导一下,this 将如何帮助我从整个站点中删除 index.php
  • 我从未使用过 GCE,但我想我会为您尝试谷歌它,结果就是这样。不确定它有多大帮助,但我想,你知道 GCE 可能会对你有所帮助。

标签: php codeigniter server google-cloud-platform google-compute-engine


【解决方案1】:

Compute Engine 是 Linux(或其他操作系统)机器,您可以根据需要进行配置。如果您想使用.htaccess,请相应地配置 Apache,它在 Compute Engine 上运行良好。

你可能在使用App Engine吗?

【讨论】:

    猜你喜欢
    • 2015-07-28
    • 1970-01-01
    • 1970-01-01
    • 2017-09-21
    • 2016-05-14
    • 2014-10-28
    • 2012-06-15
    • 2011-05-20
    • 2012-09-21
    相关资源
    最近更新 更多