LoginSignup
3
3

More than 5 years have passed since last update.

cakePHP導入メモ

Last updated at Posted at 2012-04-19

cakePHPの導入時に、apacheのmod_rewriteにつまずいたのでメモ。

  • なぜか.htaccessがない場合があるので、アップされているか確認する
  • apacheのhttpd.confで.htaccessのオーバライドを許可している必要がある
httpd.conf
<Directory />
    Options FollowSymLinks
    AllowOverride All
#    Order deny,allow
#    Deny from all
</Directory>
  • mod_rewriteが読み込まれている
httpd.conf
LoadModule rewrite_module libexec/apache2/mod_rewrite.so
3
3
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
3
3