宇宙主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

欧基零壹微头条IP归属甄别会员请立即修改密码
查看: 1166|回复: 1

[Windows VPS] 呃,这个httpd.ini怎么转htaccess呀,我改头部尾部都不可以呀

[复制链接]
发表于 2015-8-7 20:55:39 | 显示全部楼层 |阅读模式
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32

RewriteRule        ^(.*)/user/(.*)/(.*)/(.*)$ $1/index\.php\?user&user_id=$2&q=code/$3/$4
RewriteRule        ^(.*)/user/(.*)/(.*)$ $1/index\.php\?user&user_id=$2&q=code/$3
RewriteRule        ^(.*)/user/(.*)$ $1/index\.php\?user&user_id=$2
RewriteRule        ^(.*)/u/(.*)/(.*)$ $1/index\.php\?home&user_id=$2&q=$3
RewriteRule        ^(.*)/u/(.*)$ $1/index\.php\?home&user_id=$2
RewriteRule        ^(.*)/(.*)/(.*)/index.html$ $1/index\.php\?$2&nid=$3
RewriteRule        ^(.*)/(.*)/(.*)/index(.*).html$ $1/index\.php?$2&nid=$3&page=$4
RewriteRule        ^(.*)/(.*)/(.*)/a(.*).html$ $1/index\.php\?$2&nid=$3&article_id=$4
RewriteRule        ^(.*)/(.*)/(.*)/a(.*).html?(.*)$ $1/index\.php\?$2&nid=$3&article_id=$4&$5
RewriteRule        ^(.*)/(.*)/index.html$ $1/index\.php\?$2
RewriteRule        ^(.*)/(.*)/index(.*).html$ $1/index\.php\?$2&page=$3
RewriteRule        ^(.*)/(.*)/index(.*).html?(.*)$ $1/index\.php\?$2&page=$3&$4
RewriteRule        ^(.*)/(.*)/a(.*)_(.*).html$ $1/index\.php\?$2&article_id=$3&page=$4
RewriteRule        ^(.*)/(.*)/a(.*).html$ $1/index\.php\?$2&article_id=$3
RewriteRule        ^(.*)/(.*)/a(.*).html?(.*)$ $1/index\.php\?$2&article_id=$3&$4


========
我改头部尾部都不可以呀

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
发表于 2015-8-7 20:59:31 | 显示全部楼层
http://www.server110.com/nginx/201308/763.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|宇宙主机交流论坛

GMT+8, 2024-10-30 17:16 , Processed in 0.056565 second(s), 6 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表