锁 13-88899
代码目录说明
所有 代码放在 \shop\addons\模块n\core\{mobile|web}\文件n
更改访问网站域名 大致流程
1 \wamp\bin\apache\conf\httpd.conf
# Virtual hosts
Include conf/extra/httpd-vhosts.conf (引入 host配置)
httpd-vhosts.conf 文件加入如下代码 :
<VirtualHost *:80>
ServerAdmin leijs.anrenxing.com
DocumentRoot "F:\www\shop"
ServerName leijs.anrenxing.com
ErrorLog "logs/dummy-host.example.com-error.log"
CustomLog "logs/dummy-host.example.com-access.log" common
</VirtualHost>
1.2 \wamp\bin\apache\conf\httpd.conf
DocumentRoot "F:/www/" 这个是svn 代码存放目录 也是apche 指定项目根目录
2 更改host
C:\\Windows\System32\drivers\etc\hosts
127.0.0.1 leijs.anrenxing.com
127.0.0.1 leijs.anrenxing.com