LoginSignup
21
23

More than 5 years have passed since last update.

CakePHPをインストールするときのApacheの設定

Last updated at Posted at 2014-07-06
$ sudo vim /etc/httpd/conf/httpd.conf

以下の箇所がコメントになっていないか確認

LoadModule rewrite_module modules/mod_rewrite.so

httpd.confの行末に追記(vimで末尾「shift+G」 ⇔ 先頭「gg」)

<Directory "/var/www/html/CakePHPのフォルダ">
    AllowOverride All
</Directory>

apacheの再起動

$ sudo service httpd restart
21
23
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
21
23