找到httpd.conf文件
找LoadModule rewrite_module modules/mod_rewrite.so把前面的#去掉
重启apache开启 Rewrite模块
然后在打开httpd.conf
RewriteEngine On //必须的开启伪静态
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d #如果目录存在就直接访问,不进行RewriteRuleRe
writeCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f #如果文件存在就直接访问,不进行RewriteRule
RewriteRule ^/333_(.*)_([0-9]*).html$ /333.php?id=$1&page=$2
RewriteRule ^/(.*)/$ /33.php?$1
333.php?id=xxxx -----> 333_xxxx.html
33.php?xxxx ------> /xxxx/
持续更新....