首页 > 网络资讯 > 技术支持 >
apache wdcp url支持中文 url
分享至:0
2017-04-12 10:21:08     来源:互联网     点击:
导读: wget http://d.nicwind.com/files/mod_encoding_64.tar.gz tar zxvf mod_encoding_64.tar.gz cd mod_encoding_64 patch -p0... wget http://d.nicwind.com/files/mod_encoding_64.tar.gz

  1.     tar zxvf mod_encoding_64.tar.gz
  2.     cd mod_encoding_64
  3.     patch -p0 < mod_encoding.c-apache2.2-20060520.patch
  4.     cd lib
  5.     chmod 755 configure
  6.     ./configure --prefix=/usr
  7.     make && make install
  8.     ldconfig
  9.     cd ../
  10.     chmod 755 configure
  11.     cp -p /www/wdlinux/apache/bin/apxs /usr/bin
  12.     ./configure --with-apxs=/usr/bin/apxs --with-iconv-hook=/usr/include
  13.     make
  14.     gcc -shared -o mod_encoding.so mod_encoding.o -Wc,-Wall -Llib -liconv_hook
  15.     cp mod_encoding.so /www/wdlinux/httpd-2.2.24/modules
复制代码

重启服务