teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

3

エラーログ追加

2020/11/08 12:39

投稿

yoh-yoh
yoh-yoh

スコア0

title CHANGED
File without changes
body CHANGED
@@ -104,4 +104,12 @@
104
104
  ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
105
105
  </Directory>
106
106
  </IfModule>
107
+ ```
108
+
109
+ エラーログはこちら
110
+ ```ここに言語を入力
111
+
112
+ [Sun Nov 08 21:38:12.733120 2020] [mpm_winnt:notice] [pid 12028:tid 664] AH00354: Child: Starting 150 worker threads.
113
+ [Sun Nov 08 21:38:18.202586 2020] [authz_core:error] [pid 12028:tid 1920] [client ::1:55187] AH01630: client denied by server configuration: C:/Applications
114
+ [Sun Nov 08 21:38:18.299631 2020] [authz_core:error] [pid 12028:tid 1920] [client ::1:55187] AH01630: client denied by server configuration: C:/Applications, referer: http://localhost/
107
115
  ```

2

httpd-xampp.conf追加

2020/11/08 12:39

投稿

yoh-yoh
yoh-yoh

スコア0

title CHANGED
File without changes
body CHANGED
@@ -7,6 +7,7 @@
7
7
 
8
8
  と出てきました。解決策を教えてください。
9
9
 
10
+ httpd.conf
10
11
  ```ここに言語を入力
11
12
  コード
12
13
  <IfModule ssl_module>
@@ -36,4 +37,71 @@
36
37
  Require all granted
37
38
  #Allow from all
38
39
  </Directory>
40
+ ```
41
+ httpd-xampp.conf
42
+ ```ここに言語を入力
43
+ コード
44
+ #AllowOverride None
45
+ #Options None
46
+ #Require all denied
47
+
48
+
49
+ <Files "php-cgi.exe">
50
+ Require all granted
51
+ </Files>
52
+ </Directory>
53
+
54
+ <Directory "C:/xampp/cgi-bin">
55
+ <FilesMatch ".php$">
56
+ SetHandler cgi-script
57
+ </FilesMatch>
58
+ <FilesMatch ".phps$">
59
+ SetHandler None
60
+ </FilesMatch>
61
+ </Directory>
62
+
63
+ <Directory "C:/xampp/htdocs/xampp">
64
+ <IfModule php7_module>
65
+ <Files "status.php">
66
+ php_admin_flag safe_mode off
67
+ </Files>
68
+ </IfModule>
69
+
70
+ AllowOverride AuthConfig
71
+ </Directory>
72
+
73
+ <IfModule alias_module>
74
+ Alias /licenses "C:/xampp/licenses/"
75
+ <Directory "C:/xampp/licenses">
76
+ Options +Indexes
77
+ <IfModule autoindex_color_module>
78
+ DirectoryIndexTextColor "#000000"
79
+ DirectoryIndexBGColor "#f8e8a0"
80
+ DirectoryIndexLinkColor "#bb3902"
81
+ DirectoryIndexVLinkColor "#bb3902"
82
+ DirectoryIndexALinkColor "#bb3902"
83
+ </IfModule>
84
+ Require local
85
+ ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
86
+ </Directory>
87
+
88
+ Alias /phpmyadmin "C:/xampp/phpMyAdmin/"
89
+ <Directory "C:/xampp/phpMyAdmin">
90
+ AllowOverride AuthConfig
91
+ Require all granted
92
+ ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
93
+ </Directory>
94
+
95
+ Alias /webalizer "C:/xampp/webalizer/"
96
+ <Directory "C:/xampp/webalizer">
97
+ <IfModule php7_module>
98
+ <Files "webalizer.php">
99
+ php_admin_flag safe_mode off
100
+ </Files>
101
+ </IfModule>
102
+ AllowOverride AuthConfig
103
+ Require local
104
+ ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
105
+ </Directory>
106
+ </IfModule>
39
107
  ```

1

httpd.conf追加

2020/11/06 08:05

投稿

yoh-yoh
yoh-yoh

スコア0

title CHANGED
File without changes
body CHANGED
@@ -5,4 +5,35 @@
5
5
  Apache/2.4.46 (Win64) OpenSSL/1.1.1g PHP/7.4.11 Server at localhost Port 80
6
6
  ---
7
7
 
8
- と出てきました。解決策を教えてください。
8
+ と出てきました。解決策を教えてください。
9
+
10
+ ```ここに言語を入力
11
+ コード
12
+ <IfModule ssl_module>
13
+ SSLRandomSeed startup builtin
14
+ SSLRandomSeed connect builtin
15
+ </IfModule>
16
+
17
+ # XAMPP: We disable operating system specific optimizations for a listening
18
+ # socket by the http protocol here. IE 64 bit make problems without this.
19
+
20
+ AcceptFilter http none
21
+ AcceptFilter https none
22
+ # AJP13 Proxy
23
+ <IfModule mod_proxy.c>
24
+ <IfModule mod_proxy_ajp.c>
25
+ Include "conf/extra/httpd-ajp.conf"
26
+ </IfModule>
27
+ </IfModule>
28
+
29
+ Alias / "/Applications/XAMPP/htdocs/laravelapp/public/"
30
+
31
+ <Directory "/Applications/XAMPP/htdocs/laravelapp/public/">
32
+ #Options Indexs FollowSymLinks MultiViews
33
+ #AllowOverride all
34
+ #Order allow,deny
35
+ AllowOverride All
36
+ Require all granted
37
+ #Allow from all
38
+ </Directory>
39
+ ```