- 论坛徽章:
- 0
|
# 文档目录 #
DocumentRoot D:/P8-Server/wwwroot
<Directory "D:/P8-Server/wwwroot">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
#自定义出错页面
ErrorDocument 404 /404.htm
# 伪静态 #
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)/list-([0-9]+)-([0-9]+)\.htm$ $1/list.php?fid=$2&page=$3
RewriteRule ^(.*)/bencandy-([0-9]+)-([0-9]+)-([0-9]+)\.htm$ $1/bencandy.php?fid=$2&id=$3&page=$4
RewriteRule ^(.*)product/(.*)\.htm$ $1/product.php?id=$2
</IfModule>
</VirtualHost> |
|