hker 发表于 2011-11-26 23:16:45

求一段htaccess ,有httpd,谢谢!

[*]
[*]
[*]# Destoon V3.0
[*]# 3600 = 1 hour
[*]CacheClockRate 3600
[*]RepeatLimit 32
[*]# Protect httpd.ini and httpd.parse.errors files
[*]# from accessing through HTTP
[*]RewriteRule ^(.*)\vip.ilmc.com\.(asp|aspx|asa|asax|dll|jsp|cgi|fcgi|pl)(.*)$ /404\.php
[*]RewriteRule ^(.*)-htm-(.*)$ $1\.php\?$2
[*]RewriteRule ^(.*)/vip.ilmc.com/show-(+)([\-])?(+)?\.html$ $1/show\.php\?itemid=$2&page=$4
[*]RewriteRule ^(.*)/vip.ilmc.com/list-(+)([\-])?(+)?\.html$ $1/list\.php\?catid=$2&page=$4
[*]RewriteRule ^(.*)/vip.ilmc.com/show/(+)/(+)?([/])?$ $1/show\.php\?itemid=$2&page=$3
[*]RewriteRule ^(.*)/vip.ilmc.com/list/(+)/(+)?([/])?$ $1/list\.php\?catid=$2&page=$3
[*]RewriteRule ^(.*)/vip.ilmc.com/com/(+)/(+)/(.*)\.html$ $1/company/$3/index\.php\?homepage=$2&rewrite=$4
[*]RewriteRule ^(.*)/vip.ilmc.com/(+)/(+)([/])?$ $1/company/$3/index\.php\?homepage=$2
[*]RewriteRule ^(.*)/vip.ilmc.com/(+)([/])?$ $1/company/index\.php\?homepage=$2
[*]RewriteRule ^(.*)/(+)/(.*)\.shtml$ $1/$2/index\.php\?rewrite=$3
[*]复制代码

hker 发表于 2011-11-26 23:17:46


win 服务器改成 unix,特求助,谢谢!!

hker 发表于 2011-11-26 23:19:01


原来使用正常,现在怎么写 三级域名都是指向 company 这目录,公司页面无法显示,谢谢!
页: [1]
查看完整版本: 求一段htaccess ,有httpd,谢谢!