apache配置文件

httpd.conf

1
LoadModule rewrite_module modules/mod_rewrite.so
2
AllowOverride All



3
htaccess文件
RewriteEngine on