現状、あるフォルダ配下にphpファイルを置いています。下記参照
/test/sampleA.php
/test/sampleB.php
url:https://example.com/test/sampleA.php
url:https://example.com/test/sampleB.php
こちらをhtaccessを使ってURLを以下に変更したいのです。
url:https://example.com/test/sampleA/
url:https://example.com/test/sampleB/
そこで、htaccessで以下の設定をしましたが、上手くいきません。
RewriteEngine on
RewriteBase /test/
RewriteRule ^(.*).php$ $1/ [R=301,L]
安全な接続ができませんでした
sample.co.jp への接続中にエラーが発生しました。Peer reports it experienced an internal error.
エラーコード: SSL_ERROR_INTERNAL_ERROR_ALERT
といった内容が表示されます。
どこか間違ってるのは分かるのですが、どうしたら思った通りにできるのか分からず。。
よろしくお願いします。
回答1件
あなたの回答
tips
プレビュー