欢迎访问:常州市武进区嘉泽中心小学网站 !今天是:
栏目列表
您现在的位置是:首页>>教师>>计算机技术>>网站制作技术>>文章内容
Url Rewrite
发布时间:2008-11-20   点击:   来源:本站原创   录入者:佚名
  <VirtualHost *:88>
ServerAdmin btbtd@{域名已经过期}
DocumentRoot "I:/gi-2288"
ServerName {域名已经过期}
ErrorLog "G:/Apache/{域名已经过期}-error_log"

RewriteEngine On

# News Modules
RewriteRule /modules/news/topic_(.+)\.html$ /modules/news/index.php?storytopic=$1 [L]
RewriteRule /modules/news/article_([0-9]+).html$ /modules/news/article.php?storyid=$1
RewriteRule /modules/news/archive/([0-9]+)/([0-9]+)$ /modules/news/archive.php?year=$1&month=$1 [L]
RewriteRule /modules/news/archive\.html$ /modules/news/archive.php
RewriteRule /modules/news/index.html$ /modules/news/index.php

# Wfdownloads Modules
RewriteRule /modules/wfdownloads/topic_(.+)\.html$ /modules/wfdownloads/viewcat.php?cid=$1 [L]
RewriteRule /modules/wfdownloads/down_item_(.+)_file_(.+)\.html$ /modules/wfdownloads/singlefile.php?cid=$1&lid=$1
RewriteRule /modules/wfdownloads/topic_o_(.+)\.html$ /modules/wfdownloads/viewcat.php?op=&cid=$1 [L]
RewriteRule /modules/wfdownloads/newlist\.html$ /modules/wfdownloads/newlist.php
RewriteRule /modules/wfdownloads/hit\.html$ /modules/wfdownloads/topten.php?list=hit
RewriteRule /modules/wfdownloads/rate\.html$ /modules/wfdownloads/topten.php?list=rate
RewriteRule /modules/wfdownloads/index.html$ /modules/wfdownloads/index.php

# Mydownloads Modules
RewriteRule /modules/mydownloads/index.html$ /modules/mydownloads/index.php
RewriteRule /modules/mydownloads/topic_(.+)\.html$ /modules/mydownloads/viewcat.php?cid=$1 [L]
RewriteRule /modules/mydownloads/hit/(.+)\.html$ /modules/mydownloads/topten.php?hit=$1 [L]
RewriteRule /modules/mydownloads/rate/(.+)\.html$ /modules/mydownloads/topten.php?rate=$1 [L]

# MyAlbum
RewriteRule /modules/myalbum/index.html$ /modules/myalbum/index.php
RewriteRule /modules/myalbum/topic_(.+)\.html$ /modules/myalbum/viewcat.php?cid=$1 [L]
RewriteRule /modules/myalbum/topic_(.+)_photo_(.+)\.html$ /modules/myalbum/viewcat.php?num=$1&cid=$1
RewriteRule /modules/myalbum/hit/(.+)\.html$ /modules/myalbum/topten.php?hit=1

# AMS
RewriteRule /modules/AMS/index.html$ /modules/AMS/index.php
RewriteRule /modules/AMS/article_(.+)\.html$ /modules/AMS/article.php?storyid=$1
RewriteRule /modules/AMS/topic_(.+)\.html$ /modules/AMS/index.php?storytopic=$1

#Other
RewriteRule /index.html$ /index.php

 

</VirtualHost>

 

News Modules



http://{域名已经过期}:88/modules/news/article.php?storyid=281
http://{域名已经过期}:88/modules/news/article_281.html

http://{域名已经过期}:88/modules/news/index.php
http://{域名已经过期}:88/modules/news/index.html



wfdownloads
http://{域名已经过期}:88/modules/wfdownloads/viewcat.php?cid=18
http://{域名已经过期}:88/modules/wfdownloads/topic_18.html

http://{域名已经过期}:88/modules/wfdownloads/singlefile.php?cid=4&lid=16
http://{域名已经过期}:88/modules/wfdownloads/down_item_4_file_16.html

http://{域名已经过期}:88/modules/wfdownloads/viewcat.php?op=&cid=19
http://{域名已经过期}:88/modules/wfdownloads/topic_o_19.html

http://{域名已经过期}:88/modules/wfdownloads/newlist.php
http://{域名已经过期}:88/modules/wfdownloads/newlist.html

http://{域名已经过期}:88/modules/wfdownloads/topten.php?list=hit
http://{域名已经过期}:88/modules/wfdownloads/hit.html

http://{域名已经过期}:88/modules/wfdownloads/topten.php?list=rate
http://{域名已经过期}:88/modules/wfdownloads/rate.html

http://{域名已经过期}:88/modules/mydownloads/index.php
http://{域名已经过期}:88/modules/mydownloads/index.html



mydownloads
http://{域名已经过期}:88/modules/mydownloads/index.php
http://{域名已经过期}:88/modules/mydownloads/index.html

http://{域名已经过期}:88/modules/mydownloads/viewcat.php?cid=3
http://{域名已经过期}:88/modules/mydownloads/topic_3.html

http://{域名已经过期}:88/modules/mydownloads/topten.php?hit=1
http://{域名已经过期}:88/modules/mydownloads/hit/1.html



myAlbum
http://{域名已经过期}:88/modules/myalbum/index.php
http://{域名已经过期}:88/modules/myalbum/index.html

http://{域名已经过期}:88/modules/myalbum/viewcat.php?cid=41
http://{域名已经过期}:88/modules/myalbum/topic_41.html

http://{域名已经过期}:88/modules/myalbum/viewcat.php?num=20&cid=78
http://{域名已经过期}:88/modules/myalbum/topic_20_photo_78.html



AMS
http://{域名已经过期}:88/modules/AMS/index.php
http://{域名已经过期}:88/modules/AMS/index.html

http://{域名已经过期}:88/modules/AMS/article.php?storyid=42
http://{域名已经过期}:88/modules/AMS/article_42.html

http://{域名已经过期}:88/modules/AMS/index.php?storytopic=2
http://{域名已经过期}:88/modules/AMS/topic_2.html

附件:
    关闭窗口
    打印文档
    账号登录
    保持登录 忘记密码?
    账号与武进教师培训平台同步