.htaccess ファイルに次のルールがあります。
RewriteRule ^cat-([0-9]+)\.html$ ad_list_cat.php?category_no=$1
ad_list_cat.php ファイルはサブフォルダー /contents/ にあります。私も試しました
RewriteRule ^cat-([0-9]+)\.html$ /contents/ad_list_cat.php?category_no=$1
「http://localhost/cat-1.html」という URL を入力すると、エラー 404 が表示されます。サブフォルダーに問題があると思います。私のルールで何が間違っていますか?
よろしく: