Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

目录邦定不能成功,请各位帮助!

[复制链接]
sjh 发表于 2006-8-26 00:19:12 | 显示全部楼层 |阅读模式
我想进行目录邦定,可是怎样也不能成功,请各位给帮助,谢谢!



Listen 80
ServerName localhost
ServerAdmin cummer@21cn.com
ServerRoot "D:\www\Apache2"
DocumentRoot "D:\www\wwwroot"
LoadModule php5_module "D:\www\PHP5\php5apache2.dll"
PHPIniDir "D:\www\PHP5\php.ini"
<Directory "D:\www\wwwroot">
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
Alias /icons/   "D:\www\Apache2\icons\"
<Directory "D:\www\Apache2\icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin cummer@21cn.com
DocumentRoot "D:\www\wwwroot"
ServerName *
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)/archiver/([a-z0-9-]+.html)$ $1/archiver/index.php?$2
RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+).html$ $1/forumdisplay.php?fid=$2&page=$3
RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+).html$ $1/viewthread.php?tid=$2&extra=page%3D$4&page=$3
RewriteRule ^(.*)/profile-(username|uid)-(.+).html$ $1/viewpro.php?$2=$3
RewriteRule ^supesite/([0-9]+)/spacelist(.*)$ /index.php?$1/action_spacelist$2
RewriteRule ^supesite/([0-9]+)/viewspace(.+)$ /index.php?$1/action_viewspace_itemid$2
RewriteRule ^supesite/([0-9]+)/viewbbs(.+)$ /index.php?$1/action_viewbbs_tid$2
RewriteRule ^supesite/([0-9]+)/(.*)$ /index.php?$1/$2
RewriteRule ^supesite/([0-9]+)$ /index.php?$1
RewriteRule ^supesite/action(.+)$ /index.php?action$1
RewriteRule ^supesite/category(.+)$ /index.php?action_category_catid$1
RewriteRule ^supesite/itemlist(.+)$ /index.php?action_itemlist_catid$1
RewriteRule ^supesite/viewnews(.+)$ /index.php?action_viewnews_itemid$1
RewriteRule ^supesite/viewthread(.+)$ /index.php?action_viewthread_tid$1
RewriteRule ^supesite/index(.*)$ /index.php
</IfModule>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin cummer@21cn.com
DocumentRoot D:\www\wwwroot\web
ServerName cummer.cn
ServerAlias www.cummer.cn
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)/archiver/([a-z0-9-]+.html)$ $1/archiver/index.php?$2
RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+).html$ $1/forumdisplay.php?fid=$2&page=$3
RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+).html$ $1/viewthread.php?tid=$2&extra=page%3D$4&page=$3
RewriteRule ^(.*)/profile-(username|uid)-(.+).html$ $1/viewpro.php?$2=$3
RewriteRule ^supesite/([0-9]+)/spacelist(.*)$ /index.php?$1/action_spacelist$2
RewriteRule ^supesite/([0-9]+)/viewspace(.+)$ /index.php?$1/action_viewspace_itemid$2
RewriteRule ^supesite/([0-9]+)/viewbbs(.+)$ /index.php?$1/action_viewbbs_tid$2
RewriteRule ^supesite/([0-9]+)/(.*)$ /index.php?$1/$2
RewriteRule ^supesite/([0-9]+)$ /index.php?$1
RewriteRule ^supesite/action(.+)$ /index.php?action$1
RewriteRule ^supesite/category(.+)$ /index.php?action_category_catid$1
RewriteRule ^supesite/itemlist(.+)$ /index.php?action_itemlist_catid$1
RewriteRule ^supesite/viewnews(.+)$ /index.php?action_viewnews_itemid$1
RewriteRule ^supesite/viewthread(.+)$ /index.php?action_viewthread_tid$1
RewriteRule ^supesite/index(.*)$ /index.php
</IfModule>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin cummer@21cn.com
DocumentRoot D:\www\wwwroot\wbs
ServerName cummer.cn
ServerAlias wbs.cummer.cn
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)/archiver/([a-z0-9-]+.html)$ $1/archiver/index.php?$2
RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+).html$ $1/forumdisplay.php?fid=$2&page=$3
RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+).html$ $1/viewthread.php?tid=$2&extra=page%3D$4&page=$3
RewriteRule ^(.*)/profile-(username|uid)-(.+).html$ $1/viewpro.php?$2=$3
RewriteRule ^supesite/([0-9]+)/spacelist(.*)$ /index.php?$1/action_spacelist$2
RewriteRule ^supesite/([0-9]+)/viewspace(.+)$ /index.php?$1/action_viewspace_itemid$2
RewriteRule ^supesite/([0-9]+)/viewbbs(.+)$ /index.php?$1/action_viewbbs_tid$2
RewriteRule ^supesite/([0-9]+)/(.*)$ /index.php?$1/$2
RewriteRule ^supesite/([0-9]+)$ /index.php?$1
RewriteRule ^supesite/action(.+)$ /index.php?action$1
RewriteRule ^supesite/category(.+)$ /index.php?action_category_catid$1
RewriteRule ^supesite/itemlist(.+)$ /index.php?action_itemlist_catid$1
RewriteRule ^supesite/viewnews(.+)$ /index.php?action_viewnews_itemid$1
RewriteRule ^supesite/viewthread(.+)$ /index.php?action_viewthread_tid$1
RewriteRule ^supesite/index(.*)$ /index.php
</IfModule>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin cummer@21cn.com
DocumentRoot D:\www\wwwroot\web
ServerName cummer.cn
ServerAlias *.cummer.cn
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)/archiver/([a-z0-9-]+.html)$ $1/archiver/index.php?$2
RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+).html$ $1/forumdisplay.php?fid=$2&page=$3
RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+).html$ $1/viewthread.php?tid=$2&extra=page%3D$4&page=$3
RewriteRule ^(.*)/profile-(username|uid)-(.+).html$ $1/viewpro.php?$2=$3
RewriteRule ^supesite/([0-9]+)/spacelist(.*)$ /index.php?$1/action_spacelist$2
RewriteRule ^supesite/([0-9]+)/viewspace(.+)$ /index.php?$1/action_viewspace_itemid$2
RewriteRule ^supesite/([0-9]+)/viewbbs(.+)$ /index.php?$1/action_viewbbs_tid$2
RewriteRule ^supesite/([0-9]+)/(.*)$ /index.php?$1/$2
RewriteRule ^supesite/([0-9]+)$ /index.php?$1
RewriteRule ^supesite/action(.+)$ /index.php?action$1
RewriteRule ^supesite/category(.+)$ /index.php?action_category_catid$1
RewriteRule ^supesite/itemlist(.+)$ /index.php?action_itemlist_catid$1
RewriteRule ^supesite/viewnews(.+)$ /index.php?action_viewnews_itemid$1
RewriteRule ^supesite/viewthread(.+)$ /index.php?action_viewthread_tid$1
RewriteRule ^supesite/index(.*)$ /index.php
</IfModule>
</VirtualHost>
 楼主| sjh 发表于 2006-8-26 03:23:39 | 显示全部楼层
请问我错在哪里呢?谢谢!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-1-10 09:26 , Processed in 0.033890 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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