分类分类
关注+2011-02-15作者:清晨
httpd.conf
找到#APMServ默认虚拟主机
NameVirtualHost *:80
<VirtualHost *:80>
ServerName *
DocumentRoot "D:/APMServ/www/htdocs"
<Directory "D:/APMServ/www/htdocs">
Options FollowSymLinks IncludesNOEXEC Indexes
DirectoryIndex index.html index.htm default.htm index.php default.php index.cgi default.cgi index.pl default.pl index.shtml
AllowOverride all 这里原来是 AllowOverride none
Order Deny,Allow
Allow from all
</Directory>
</VirtualHost>
.htaccess内容
RewriteEngine on
RewriteRule test([0-9]*)\.html$ test\.php?id=$1
test.asp内容
<?php
echo $_GET['id'];
?>
以上内容亲侧通过
相关文章
更多+相同厂商
热门推荐
点击查看更多
点击查看更多
点击查看更多
说两句网友评论