点点学习

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

记得打开vhost,记得哦!要不然后果自负吧。记得打开vhost。

一,apache:

<VirtualHost *:80>
    DocumentRoot "本地路径"
    ServerName 域名
    ErrorLog "logs/日志名称-error.log"
    CustomLog "logs/日志名称-access.log" common
</VirtualHost>
<Directory "D:/wwwroot/cms">
    Options Indexes FollowSymLinks
    AllowOverride all
    Order Allow,Deny
    Allow from all
</Directory>

 

posted on 2013-04-03 17:11  点点学习  阅读(172)  评论(0编辑  收藏  举报