将附件中的include 全部覆盖到 dede的安装目录,然后给apache 增加 rewrite 规则.
规则类似如下:
<VirtualHost *:80>
DocumentRoot /home/myweb/aa_com
ServerName www.aa.com
ServerAlias aa.com
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
#RewriteRule ^(/index/)+(.*)$ /index.php/$2 [L]
RewriteRule ^(.*)list-([0-9]+)\.html$ $1/plus/list.php?tid=$2
RewriteRule ^(.*)list-([0-9]+)-([0-9]+)\.html$ $1/plus/list.php?typeid=$2&pageno=$3
RewriteRule ^(.*)view-([0-9]+).html$ $1/plus/view.php?aid=$2
RewriteRule ^(.*)view-([0-9]+)-([0-9]+).html$ $1/plus/view.php?aid=$2&pageno=$3
#RewriteLogLevel 7
</VirtualHost>
附件下载 dede51