LoginSignup
4
3

More than 5 years have passed since last update.

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

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