0
我需要在.htaccess中重写帮助。.htaccess重写不起作用
我努力做到以下几点: 当用户键入http://www.example.com/csc/alabama/
我需要从http://www.example.com/csc/index.php?state=alabama
拉的信息,我认为这应该是这个
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^csc/([^/]*)$ /csc/index.php?state=$1 [L]
我不断收到404错误。
在附注上,我希望能够使用通用的子目录做到这一点,以便csc可以是abc或其他任何东西,但这不是优先级。