我需要改变
http://localhost/engineering/management/administrator/modules/course/view.php
到
http://localhost/engineering/course_view.php
我尝试了以下重写
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^engineering/([.*])_([.*])\.php$ /engineering/management/administrator/modules/$1/$2.php
但它不影响网址。我认为代码有问题。