Help us understand the problem. What is going on with this article?

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

More than 5 years have passed since last update.

概要

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を押せば進めます。きっと幸せになれることでしょう。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away