Apache端口是8080,所以这样配置
C:AppServApache24confextra下的httpd-vhosts配置
C:WindowsSystem32driversetc下hosts配置
最后输入如图的地址(一定要重启Appserv,一定要重启)
网址域名
http://www.tp5.com:8080/index.php/index/index/db
index.php 是入口文件
index 模块
index 控制器
db 方法