网站有大量的二级域名,现在想给二级域名的页面静态化,想实现以下效果,http://test.baidu.com/ha/a.html 生成的静态页在/ha/test/a.html下,是否能通过 .htaccess 重写来实现访问网址 http://test.baidu.com/ha/a.html 时实际调用的是这个 /ha/test/a.html 路径的文件?用的是Apache+php+MySQL做的网站。
- 1 回答
- 0 关注
- 1239 浏览
添加回答
举报
0/150
提交
取消