rewrite规则 比如:把网站http://test.com/test/123456.html重写到http://test.com/test/test.php?id=123456只把test目录下的纯数字.html重写。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 RewriteEngine on RewriteCond %{HTTP_HOST} ^test\.com$ RewriteRule ^/test/(\d+)\.html$ /test/test.php?id=$1 2楼已经给出代码了,我就不说什么了.不懂得可以具体看看apache的手册的重写部分.很详细. RewriteEngine on RewriteCond %{HTTP_HOST} ^test\.com$ RewriteRule ^/test/([0-9]+)\.html$ /test/test.php?id=$1 [L] php连接ORACLE,结果集有数据,文什么显示不出来呢? 关于cookie的问题 参数传递问题 求大神讲解 关于模板生成表格会重复输出列的问题,请教高手 简单的问题! 怎么实现多表连查和分页 300高分求救!!关于Cookie变量!!!!! 在PHP中如何定义变量阿?急! 微信公众号的刮刮卡如何实现? php表单保存状态 history.go(-1) php代码中 JS代码的问题
RewriteCond %{HTTP_HOST} ^test\.com$
RewriteRule ^/test/(\d+)\.html$ /test/test.php?id=$1
RewriteCond %{HTTP_HOST} ^test\.com$
RewriteRule ^/test/([0-9]+)\.html$ /test/test.php?id=$1 [L]