-
Redirect permanent 对二级域名的部分页面重定向主域名无效么?我的.htaccess中: Redirectpermanenthttp://this.heda.com/hedapro/http://www.heda.com/hedapro/index.html将二级域名中的/hedapro/index.html重定向好象不能实现噢,该怎么解决?tchen_yh 时间:07-24 + 阅读全文
-
apache如何动态绑定子目录,*.example.com,test.example.com=>/example.com/test.example.comapache如何动态绑定子目录,域名泛解析*.example.com如果用户访问test.example.com重写到这样的路径/example.com/test.example.com我在/example.com下放了一个.htaccess里面这样写的不行RewriteEngineonRewriteBase/RewriteRule^.*$/%{SERVER_NAME}/yonghuminghaona 时间:07-21 + 阅读全文
-
apache reweiterule 的问题。大侠帮忙!!!!!我的apache里有二个域:test.111.comtest2.222.com我现在要求是:把:test2.222.com/lottery/dlc/index.shtml跳转成:test1.111.com/dlc我这样写:RewriteLogLevel0 RewriteRule^/dlc/?http://test2.222.com/lottery/dlc/index.swukeming2 时间:07-20 + 阅读全文
-
如何精简apache?2.2.16版本,我安装的官方包,但我实际上只是需要拿它当个webservices服务器,所以想自己再打一下包,我把帮助啥的去掉现在一共大约9.67M,rar后2.2M├─bin│└─iconv├─cgi-bin├─conf│├─extra│└─original│└─extra├─error│└─include├─htdocs├─icons│└─smallsonicer 时间:07-22 + 阅读全文
-
tomcat的路径问题!碰到了一个非常诡异的问题!!在我的机器上能正常启动的一个项目,我把webapps里编译好的项目放到了另外一台机器上,能正常启动都没什么问题,但是打开页面的时候显示IE无法打开http://localhost:8080/yanbaibs/index.jsp/。非常奇怪为什么后面会出现这个汉字的句号wyf13601111 时间:07-22 + 阅读全文
-
linux下mod_bw使用问题请教在apache2.2的httpd-vhosts.conf配置如下:<VirtualHost*:80> DocumentRoot"/www/abc" BandWidthModuleOn BandWidthall1024 <location/modbw>SetHandlermodbw-handler&andfind 时间:07-22 + 阅读全文
-
一个复杂一点的rewrite不知道怎么写了。原始url:/show?id=123456要求转换为/show/456/123456.html通过一下rewrite可以实现 RewriteCond%{QUERY_STRING}^id=(\w+)$ RewriteRule/show(.*)$/%1/%1.html? RewriteRule/.+([0-9][0-9][0-9])ivan_070 时间:07-21 + 阅读全文
-
如何实现 SSL双向认证 没有证书 自动跳转已经配好apache,SSL双向认证,现在如果没有证书访问的话,会直接跳转到找不到服务器的页面。想实现如果没有证书访问,就跳转到指定的页面,请问如何实现?如修改配置文件,请具体说明。谢谢。ratter 时间:07-20 + 阅读全文