質問編集履歴
3
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -19,6 +19,8 @@
|
|
19
19
|
WSGIScriptAlias /django /var/www/jyugyou/jyugyou/wsgi.py
|
20
20
|
|
21
21
|
WSGIPythonPath /var/www/jyugyou
|
22
|
+
|
23
|
+
WSGIPythonPath /usr/lib/python3.5/site-packages
|
22
24
|
|
23
25
|
WSGIPythonPath /usr/lib64/python3.5/site-packages
|
24
26
|
|
2
誤植
test
CHANGED
File without changes
|
test
CHANGED
@@ -40,7 +40,7 @@
|
|
40
40
|
|
41
41
|
|
42
42
|
|
43
|
-
(調べつつだったので何か抜けているかもしれませんが)この状態で`systemctl restart httpd`としたところ正常に起動し,直下に別で設置していたindex.htmlにはアクセスし表示できました.しかし,`django.conf`で設定したディレクトリに`https:[addres]/django`としてアクセスしようとすると,Internal Server Errorと表示されてしまいうまく行きませんでした.
|
43
|
+
(調べつつだったので何か抜けているかもしれませんが)この状態で`systemctl restart httpd`としたところ正常に起動し,直下に別で設置していたindex.htmlにはアクセスし表示できました.しかし,`django.conf`で設定したディレクトリに`https://[addres]/django`としてアクセスしようとすると,Internal Server Errorと表示されてしまいうまく行きませんでした.
|
44
44
|
|
45
45
|
該当するApacheのエラーログは以下の通りでした.
|
46
46
|
|
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,9 +6,9 @@
|
|
6
6
|
|
7
7
|
まず,デプロイしようとした手順を大まかに示します.
|
8
8
|
|
9
|
-
テストプロジェクト
|
9
|
+
テストプロジェクトのパスは
|
10
10
|
|
11
|
-
``/var/www/jyugyou``です.(manage.pyがある
|
11
|
+
``/var/www/jyugyou``です.(このパスにmanage.pyがある)
|
12
12
|
|
13
13
|
そして,Apacheのconf.d下に置いたdjango.confの中身は以下の通りです.
|
14
14
|
|