4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

MAMPでApacheのアクセスログを表示する方法

4
Last updated at Posted at 2016-03-28
  • OSはMac OS x

  • まずhttpd.confを編集

  • vim /Applications/MAMP/conf/apache/httpd.conf

  • #CustomLog で検索

    • #CustomLog "/Applications/MAMP/logs/apache_access.log" combined
    • と記述されている場所が見つかるのでコメントアウトを外す
  • apache 再起動

  • GUIでもCUIでも

  • localhost:8888以下の任意のファイルにアクセス

  • less /Applications/MAMP/logs/apache_access.log

    • でログが記録されていることを確認
4
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
4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?