.htaccess
htaccess 介绍
http://httpd.apache.org/docs/1.3/howto/htaccess.html
http://man.chinaunix.net/newsoft/Apache2.2_chinese_manual/howto/htaccess.html
.htaccess作用
文件夹密码保护、用户自动重新指向、自定义错误页面、变更你的文件扩展名、屏蔽特定的用户IP地址、只允许特定的IP地址、停止目录表以及使用其他文件作为index文件,等等......
跟iis的 web.config 类似
下面来看看常用的 URL Rewriting Engine mod_rewrite

浙公网安备 33010602011771号