Apache URL Re-writing not functioning properly
问题 I am trying to use apache-rewrite rule to convert the below URL: http://localhost/foo/bar/news.php?id=24 Into this format: http://localhost/foo/bar/news/foo-bar The number 24 is an id of a random row from a MySQL table, which also contains title and content fields. MariaDB [blog]> select * from articles; +----+---------+----------+ | id | title | content | +----+---------+----------+ | 1 | foo-bar | bla bla | +----+---------+----------+ 1 row in set (0.00 sec) I have the following rule inside