質問編集履歴

2

補足説明

2017/02/21 04:00

投稿

hyskyo
hyskyo

スコア79

test CHANGED
File without changes
test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  exapmle.com/でgitlabが表示されていますが。
4
4
 
5
- example.com/localconfigでBugzilaが表示されなくて困っています。
5
+ example.com/bugzilla/localconfigでBugzilaが表示されなくて困っています。
6
6
 
7
7
 
8
8
 

1

補足説明

2017/02/21 04:00

投稿

hyskyo
hyskyo

スコア79

test CHANGED
File without changes
test CHANGED
@@ -28,26 +28,70 @@
28
28
 
29
29
 
30
30
 
31
+ 補足:apacheの/etc/httpd/conf/httpd.confファイル下記のよう設定しています。
32
+
33
+ ```
34
+
35
+ <VirtualHost *:80>
36
+
37
+ ServerAdmin http://example.com/
38
+
39
+ DocumentRoot /var/www/html/bugzilla
40
+
41
+ <Directory /var/www/html/bugzilla>
42
+
43
+ AddHandler cgi-script .cgi
44
+
45
+ Options +Indexes +ExecCGI +FollowSymLinks
46
+
47
+ DirectoryIndex index.cgi
48
+
49
+ AllowOverride All
50
+
51
+ Order allow,deny
52
+
53
+ Allow from all
54
+
55
+ </Directory>
56
+
57
+ ServerSignature On
58
+
59
+ </VirtualHost>
60
+
61
+
62
+
63
+ <Directory /var/www/html/bugzilla>
64
+
65
+ AddHandler cgi-script .cgi
66
+
67
+ Options +Indexes +ExecCGI
68
+
69
+ DirectoryIndex index.cgi
70
+
71
+ AllowOverride Limit
72
+
73
+ </Directory>
74
+
31
75
 
32
76
 
33
77
  ```
34
78
 
79
+
80
+
81
+
82
+
83
+ ```
84
+
35
- [root@ip-example bugzilla]# ./testserver.pl http://example/
85
+ [root@ip-172-31-16-44 bugzilla]# ./testserver.pl http://example.com/bugzilla
36
86
 
37
87
  TEST-WARNING Failed to find the GID for the 'httpd' process, unable
38
88
 
39
89
  to validate webservergroup.
40
90
 
41
- TEST-OK Got padlock picture.
91
+ TEST-FAILED Fetch of images/padlock.png failed
42
92
 
43
- Use of uninitialized value $response in pattern match (m//) at ./testserver.pl line 101.
93
+ Your web server could not fetch http://example.com/bugzilla/images/padlock.png.
44
94
 
45
- Use of uninitialized value $response in pattern match (m//) at ./testserver.pl line 103.
46
-
47
- TEST-FAILED Webserver is not executing CGI files.
95
+ Check your web server configuration and try again.
48
-
49
- TEST-OK Webserver is preventing fetch of http://example.com/localconfig.
50
-
51
- [root@example bugzilla]#
52
96
 
53
97
  ```