安裝完drupal 8 之後,系統會需要你做一些簡單的設定
如果在需求檢查步驟出現以下的警告訊息
Your server is capable of using clean URLs, but it is not enabled. Using clean URLs gives an improved user experience and is recommended


表示你的 drupal 目錄無法使用rewrite 功能
如果是apache請確認以下設定
LoadModule rewrite_module libexec/apache24/mod_rewrite.so

Alias /drupal "/usr/local/www/drupal8"
<Directory "/usr/local/www/drupal8">
    Options  FollowSymLinks
    AllowOverride All
    Require all granted
</Directory>

修改完後重新啟動apache
apachectl reload


undefined
Drupal的使用 中文版 第二版
作者: (美)拜倫
出版社:中國電力出版社
出版日期:2014/03/01

arrow
arrow
    文章標籤
    freebsd drupal rewrite apache
    全站熱搜

    helloworld 發表在 痞客邦 留言(0) 人氣()