テスト環境でのルートパスについて教えてください。
調べて試してみたのですが、うまくできませんでした。
▼テストディレクトリ
sample-design.ne.jp/test02/products/hello/
sample-design.ne.jp/test02/products/hello/index.htmlに以下のルートパスがあるとします。
<script src="/common/js/jquery.1.11.2.js"></script>(上記のcommon/js/・・・はtest02直下にあります)
.htaccessに以下の記述をしたのですが、間違ってますか?
RewriteEngine on
RewriteRule ^(hogedir.*).((gif|png|jpe?g|css|ico|js|svg))$ https://sample-design.ne.jp/test02/$1.$2
よろしくお願いいたします。
あなたの回答
tips
プレビュー