5
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.

XAMPP 403 Error 解決方法(Mac OSX)

Last updated at Posted at 2017-04-04

#Require all granted追記で解決しなかった人向け。

ググっても大体出てくるのは下記の処方箋のみ。

/Applications/XAMPP/xamppfiles/etc/extra/httpd-vhosts.conf

<Directory "ディレクトリ名">
AllowOverride All
Require all granted
</Directory>

これで大抵の方は解決されてるみたいですが、依然403がでる。。。
下記の方法で解決。

/Applications/XAMPP/xamppfiles/etc/httpd.conf

<IfModule unixd_module>

〜略〜

User daemon
Group daemon
</IfModule>

User daemon

User ユーザー名

※ユーザー名はターミナルのプロンプトにあるXXXXX部分
XXXXXX-no-MacBook-Pro:htdocs XXXXX$

5
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
5
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?