質問編集履歴
4
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -23,6 +23,12 @@
|
|
23
23
|
上記のようにフォルダ構成を変更しております
|
24
24
|
|
25
25
|
(c:\www\htmlにシンボリックリンクしています)
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
DocumentRootは
|
30
|
+
|
31
|
+
/mnt/c/www/htmlです。
|
26
32
|
|
27
33
|
|
28
34
|
|
3
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -88,6 +88,12 @@
|
|
88
88
|
|
89
89
|
|
90
90
|
|
91
|
+
webrootにあるphpinfo.phpをindex.phpにリネームして確認
|
92
|
+
|
93
|
+
localhost/index.phpはチャントphpinfoが動作ししました。
|
94
|
+
|
95
|
+
|
96
|
+
|
91
97
|
上記のような状態の場合
|
92
98
|
|
93
99
|
どのあたりの設定やファイルを確認していけばよいですか??
|
2
タイトル変更しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -92,7 +92,11 @@
|
|
92
92
|
|
93
93
|
どのあたりの設定やファイルを確認していけばよいですか??
|
94
94
|
|
95
|
+
```
|
96
|
+
|
95
|
-
|
97
|
+
#webroot htaccess
|
98
|
+
|
99
|
+
|
96
100
|
|
97
101
|
<IfModule mod_rewrite.c>
|
98
102
|
|
@@ -112,7 +116,11 @@
|
|
112
116
|
|
113
117
|
```
|
114
118
|
|
119
|
+
```
|
120
|
+
|
115
|
-
|
121
|
+
#html htaccess
|
122
|
+
|
123
|
+
|
116
124
|
|
117
125
|
<IfModule mod_rewrite.c>
|
118
126
|
|
1
htaccess追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -91,3 +91,45 @@
|
|
91
91
|
上記のような状態の場合
|
92
92
|
|
93
93
|
どのあたりの設定やファイルを確認していけばよいですか??
|
94
|
+
|
95
|
+
```webroot htaccess
|
96
|
+
|
97
|
+
<IfModule mod_rewrite.c>
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
RewriteEngine On
|
102
|
+
|
103
|
+
RewriteBase /
|
104
|
+
|
105
|
+
RewriteCond %{REQUEST_FILENAME} !-d
|
106
|
+
|
107
|
+
RewriteCond %{REQUEST_FILENAME} !-f
|
108
|
+
|
109
|
+
RewriteRule ^(.*)$ index.php [QSA,L]
|
110
|
+
|
111
|
+
</IfModule>
|
112
|
+
|
113
|
+
```
|
114
|
+
|
115
|
+
```html htaccess
|
116
|
+
|
117
|
+
<IfModule mod_rewrite.c>
|
118
|
+
|
119
|
+
RewriteEngine on
|
120
|
+
|
121
|
+
# Uncomment if you have a .well-known directory in the root folder, e.g. for the Let's Encrypt challenge
|
122
|
+
|
123
|
+
# https://tools.ietf.org/html/rfc5785
|
124
|
+
|
125
|
+
#RewriteRule ^(.well-known/.*)$ $1 [L]
|
126
|
+
|
127
|
+
RewriteRule ^$ app/webroot/ [L]
|
128
|
+
|
129
|
+
RewriteRule (.*) app/webroot/$1 [L]
|
130
|
+
|
131
|
+
</IfModule>
|
132
|
+
|
133
|
+
ModPagespeed On
|
134
|
+
|
135
|
+
```
|