标签归档:UrlRewrite

How to remove all information about IIS Server from Response Header?

It is amazing technique to remove any information from response header about IIS server is very scarce online. So I decide to blog this.

The reason why you would want this is because you would not want to readily disclose what version of server or what server you are running. For example see blow response header I gathered from  one of the site running IIS:

 

Notice that you have information about Server, X-AspNet-Version, X-Powered-By. There are enough information to know it is running on IIS. Why hide these info? Because why if certain version of IIS server had security hole that the hacker can expose? Sometimes, in Enterprise environment there will be external third party security firms like WhiteHat tagging such exploits so you have to fix. 继续阅读

Apache 2.x 服务器中的URL重写的配置和应用

作者:北南南北
来自:LinuxSir.Org
摘要: 本文是关于Apache 2.x 服务器中的URL别名规则的文档,它是通过rewrite模块来实现的。能过URL别名规则,我们能看到一个干净的URL,比如可以重写为类似静态网页的地址。比如 LinuxSir.Org 论坛中,每个帖子都有一个静态网页的地址。干净的URL,对于Google搜索引擎来说是极为受用的,能更快的收录。本文只是一个小提示,或者对有些弟兄有用。
目录
1、关于Apache 2.x URL别名的说明和设置;
1.1 关于rewrite模块的调用;
1.2 设置DocumentRoot的Directory;
1.3 重启httpd服务器;
2、关于Apache 2.x URL重写规则的应用;
2.1 vbb 论坛的URL地址重写配置
2.2 drupal 的URL地址重写设置;
3、关于本文;
4、修改日志;
5、参考文档;
6、相关文档; 继续阅读