【问题标题】:Why TYPO3 Realurl works but page not found为什么 TYPO3 Realurl 有效但找不到页面
【发布时间】:2017-04-17 02:01:16
【问题描述】:

我们在 TYPO3 8.7 LTS 中安装了 realurl 2.2.0。默认的 TYPO3 .htaccess 文件被复制到索引文件夹,我们使用以下设置(域替换):

虚拟主机:

<VirtualHost *:80>
    ServerName    example.com
    DocumentRoot  /var/www/examplecom/htdocs
    <Directory /var/www/examplecom/htdocs/>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        allow from all
    </Directory>
</VirtualHost>

排版:

config.tx_realurl_enable = 1
config.simulateStaticDocuments = 0
config.baseURL = http://example.com/

Realurl 设置为自动。 服务器运行 php 7.0 和 Apache 2。

生成的 HMENU 中的链接可以正常工作。但是,当我单击其中一个导航元素时,会出现 404 page not found 消息。这是为什么?如何解决?

【问题讨论】:

  • apache 模块 mod_rewrite 是否激活?

标签: .htaccess apache2 typo3 realurl


【解决方案1】:

解决办法是开启apache模块重写:

a2enmod rewrite

【讨论】:

    猜你喜欢
    • 2018-12-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-04-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多