比如:配置路径
<VirtualHost *:82>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/tp5/public
<Directory "/var/www/html/tp5/public">
Options Indexes FollowSymli
Order allow,deny
Allow from all
AllowOverride all
</Directory>
</VirtualHost>
直接这么发访问项目有什么问题么?
http://localhost/tp5/public/index/user
访问 index模块下面的user控制器
我本地环境测试没问题,可以这么访问,但是据说这样访问有问题,不知道啥问题。。。。。。。。。。。。。。。?
最佳答案
