質問編集履歴
8
apache2.conf更新
test
CHANGED
File without changes
|
test
CHANGED
@@ -82,33 +82,37 @@
|
|
82
82
|
|
83
83
|
|
84
84
|
|
85
|
-
|
85
|
+
```apache2.conf
|
86
86
|
|
87
|
-
|
87
|
+
DocumentRoot /root/mysite/mysite
|
88
88
|
|
89
|
-
|
89
|
+
<Directory /root/mysite/mysite>
|
90
90
|
|
91
|
-
|
91
|
+
Options Indexes FollowSymLinks
|
92
92
|
|
93
|
-
|
93
|
+
AllowOverride None
|
94
94
|
|
95
|
-
|
95
|
+
Require all granted
|
96
96
|
|
97
|
-
|
97
|
+
</Directory>
|
98
98
|
|
99
|
-
|
99
|
+
|
100
100
|
|
101
|
-
|
101
|
+
ScriptAlias /scripts/ /root/mysite/scripts
|
102
102
|
|
103
|
-
|
103
|
+
<Directory /root/mysite/scripts>
|
104
104
|
|
105
|
-
|
105
|
+
AddHandler cgi-script .cgi .py
|
106
106
|
|
107
|
-
|
107
|
+
AllowOverride None
|
108
108
|
|
109
|
-
|
109
|
+
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
|
110
110
|
|
111
|
+
Require all granted
|
112
|
+
|
111
|
-
|
113
|
+
</Directory>
|
114
|
+
|
115
|
+
```
|
112
116
|
|
113
117
|
|
114
118
|
|
7
dockerfile 修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -140,7 +140,7 @@
|
|
140
140
|
|
141
141
|
補足情報(Dockerfile)
|
142
142
|
|
143
|
-
|
143
|
+
```Dockerfile
|
144
144
|
|
145
145
|
FROM ubuntu:latest
|
146
146
|
|
@@ -166,6 +166,6 @@
|
|
166
166
|
|
167
167
|
&& apt-get clean
|
168
168
|
|
169
|
-
|
169
|
+
```
|
170
170
|
|
171
171
|
何か設定の見落としなどがあればご教授よろしくお願いします。
|
6
マークダウン記法追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -26,7 +26,11 @@
|
|
26
26
|
|
27
27
|
|
28
28
|
|
29
|
+
に変更したいのですが、ブラウザに
|
30
|
+
|
29
|
-
|
31
|
+
**Forbidden:You don't have permission to access this resource.**
|
32
|
+
|
33
|
+
のメッセージが出てアクセスができません。
|
30
34
|
|
31
35
|
mysiteディレクトリの構造は
|
32
36
|
|
@@ -118,7 +122,11 @@
|
|
118
122
|
|
119
123
|
|
120
124
|
|
125
|
+
apacheのエラーログには
|
126
|
+
|
121
|
-
|
127
|
+
**AH01630: client denied by server configuration**
|
128
|
+
|
129
|
+
と記述されています。
|
122
130
|
|
123
131
|
apache2.confのデフォルトパスから変更を行わなければindex.html 、test.pyともに問題なく動いています。
|
124
132
|
|
5
mysiteディレクトリ構造を更新
test
CHANGED
File without changes
|
test
CHANGED
@@ -40,7 +40,7 @@
|
|
40
40
|
|
41
41
|
└── [drwxr-xr-x] mysite
|
42
42
|
|
43
|
-
──
|
43
|
+
──└──[-rw-r--r--] index.html
|
44
44
|
|
45
45
|
|
46
46
|
|
4
mysiteディレクトリ構造を更新
test
CHANGED
File without changes
|
test
CHANGED
@@ -32,15 +32,15 @@
|
|
32
32
|
|
33
33
|
|
34
34
|
|
35
|
-
mysite
|
35
|
+
./mysite
|
36
36
|
|
37
|
-
├── scripts
|
37
|
+
├── [drwxr-xr-x] scripts
|
38
38
|
|
39
|
-
│ └── test.py
|
39
|
+
│ └── [-rwxr-xr-x] test.py
|
40
40
|
|
41
|
-
└── mysite
|
41
|
+
└── [drwxr-xr-x] mysite
|
42
42
|
|
43
|
-
|
43
|
+
────└──[-rw-r--r--] index.html
|
44
44
|
|
45
45
|
|
46
46
|
|
3
mysiteディレクトリ構造を更新
test
CHANGED
File without changes
|
test
CHANGED
@@ -32,15 +32,15 @@
|
|
32
32
|
|
33
33
|
|
34
34
|
|
35
|
-
|
35
|
+
mysite
|
36
36
|
|
37
|
-
|
37
|
+
├── scripts
|
38
38
|
|
39
|
-
|
39
|
+
│ └── test.py
|
40
40
|
|
41
|
-
|
41
|
+
└── mysite
|
42
42
|
|
43
|
-
|
43
|
+
├── index.html
|
44
44
|
|
45
45
|
|
46
46
|
|
2
mysiteディレクトリ構造を更新
test
CHANGED
File without changes
|
test
CHANGED
@@ -36,7 +36,7 @@
|
|
36
36
|
|
37
37
|
├── scripts
|
38
38
|
|
39
|
-
│
|
39
|
+
│ └── test.py
|
40
40
|
|
41
41
|
└── mysite
|
42
42
|
|
1
mysiteディレクトリ構造を更新
test
CHANGED
File without changes
|
test
CHANGED
@@ -40,7 +40,7 @@
|
|
40
40
|
|
41
41
|
└── mysite
|
42
42
|
|
43
|
-
|
43
|
+
└── index.html
|
44
44
|
|
45
45
|
|
46
46
|
|