https://xxxx.jp/plantec/rest-relax/plantec/old_input
上記のようなURLできた場合画面を表示するようにしているのですが、
fuelphpとapacheのurlの設定が理解できず困っている次第です。
特にfuelphpのdocroot配下にcustm/index.htmlとファイルを置いた場合 https://xxxx.jp/plantec/custm →画面表示される と置いた場合custm/index.htmlの内容が見れるのに、上記と同様にdocroot配下にrest-relax/index.html と置くとファイルが無いと表示される理由がわかりません https://xxxx.jp/plantec/rest-relax →画面が無いというエラー 可能であればapacheのRewriteの設定内容を記載するのでこちらだけでも意味を教えていただければ幸いです
routes.php
// 過去入力 'rest-relax/plantec/old_input' => array( array( 'GET', new Route('view/oldInput/index/input') ) ),
vitual/xxx-plantec.conf
RewriteEngine On RewriteCond %{REQUEST_URI} ^/rest-relax/ [OR] RewriteCond %{REQUEST_URI} ^/rest_cal/ [OR] RewriteCond %{REQUEST_URI} ^/([a-zA-Z0-9_\-]+)/listable[/]? [OR] RewriteCond %{REQUEST_URI} ^/([a-zA-Z0-9_\-]+)/rest-relax/ RewriteRule !.(css|gif|gz|html|jpg|js|png|svg|ttf|zip)$ index.php [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule !.(css|gif|gz|html|jpg|js|png|svg|ttf|zip)$ redirect.php [L]
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。