Apache Web服务器mod_rewrite(重写脉冲技术)配置

  • A+
所属分类:Environment

官方说明:Provides a rule-based rewriting engine to rewrite requested URLs on the fly
检查是否安装模块:

安装mod_rewrite模块:

配置虚拟主机:vim /usr/local/apache/conf/extra/httpd-vhosts.con

.htaccess配置:(以wordpress)

申明:本文由BYRD原创(基于Centos6.4 X64、PHP5.5.11、APACHE2.4.9、MYSQL5.6.16),未经许可禁止转载!
参考:http://httpd.apache.org/docs/2.4/mod/mod_rewrite.html
参考:http://www.t4x.org/system/apache-mod-deflate/
参考:http://www.t4x.org/system/apache-mod-expires/

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: