edusoho迁移
1、目录指向web,index文件设为app.php
<VirtualHost *:8000> ServerAdmin abcd@mail.com DocumentRoot "E:/www/edusoho/web/" Options FollowSymLinks ExecCGI DirectoryIndex app.php ServerName localhost ServerAlias localhost ErrorLog "logs/test-error.log" CustomLog "logs/test-access.log" common <Directory E:/www/edusoho/web/> Options +Includes -Indexes AllowOverride All Order Deny,Allow Allow from All </Directory> </VirtualHost>
2、修改数据库连接,app\config\parameters.yml
3、edusoho 配置完后一定要开启 mod_rewrite
4、删除\app\cache目录下的缓存文件
5、登录系统后台删除缓存。