http://localhost/cms/public/index.php访问样式就需要
<link rel="stylesheet" type="text/css" href="/cms/public/static/css/style.css">

然后我配置虚拟域名c6.ipvb.cn直接指向cms/public/,在访问样式就发现需要把cms目录去掉使用
<link rel="stylesheet" type="text/css" href="/static/css/style.css">
才能访问,请问一下如何配置才可以既能使用localhost/cms访问样式,又能使用虚拟域名访问?谢谢 最佳答案
