时间:2021-07-01 10:21:17 帮助过:10人阅读
ServerAdmin admin@system DocumentRoot "F:/phpsite/myweb" ServerName 127.0.0.2 Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all
RewriteEngine on RewriteRule ^/conf_([0-9]*).html /conf.php?arg=$1
配置虚拟机
DocumentRoot "F:/phpsite/myweb"
ServerName 127.0.0.1:8009
ErrorLog "logs/web.log"
apache支持伪静态
Options Indexes FollowSymLinks MultiViews ExecCGI
AllowOverride All
Order allow,deny
Allow from all
RewriteRule conf_([0-9]*).html curl.php?arg=$1
这样试了下可以
非常感谢两位!纳闷了。我昨天写的正则居然不行。今天又正常了,太妖孽了!