LoginSignup
1
1

More than 5 years have passed since last update.

さくらのVPSで.htaccessが動かなくて困っている君へ

Last updated at Posted at 2014-12-08

概要

httpd.confでAllowOverride Allにしたのに.htaccessが全然動かない悲しみを解決したのでメモです。

結論

httpd.conf内に設定がひとつだと思うな!!!

普通に行くと

# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
#   Options FileInfo AuthConfig Limit
#
    AllowOverride All

だけで終えてしまうのですが、実際は以下の大ボスがいます。

<Directory />
    Options FollowSymLinks
    AllowOverride All
</Directory>

vimをご利用の方は/AllowOverrideで検索してみましょう。次の検索結果へはnを押せば進めます。きっと幸せになれることでしょう。

1
1
1

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
1
1