摘要:
1.因为Ubuntu比较乱,需要寻找DirectoryIndex存放在哪个配置文档中grep -iR DirectoryIndex /etc/apache2我这里提示三个路径存放,第三个为phpmyadmin,无关,进入前两个(任意一个皆可,改完其中一个另外一个自动更改)2.sudo vim /et... 阅读全文
posted @ 2014-07-24 14:01
valentine is me
阅读(1638)
评论(0)
推荐(0)
摘要:
http://doc.thinkphp.cn/manual/url_rewrite.html以上连接为框架手册提供的步骤,而Ubuntu下apache环境与windows及其它Linux有一定区别1.开启mod_rewrite.so模块使用sudo a2enmod,可配置模块管理,再输入rewrit... 阅读全文
posted @ 2014-07-24 12:45
valentine is me
阅读(424)
评论(0)
推荐(0)
摘要:
情况:Windows下网站直接拷贝至Ubuntu1.删除cache下的所有临时文件。(需保留Thinkphp Runtime下的文件结构,删除文件内容)2.提权,在Linux命令行输入 sudo chmod 777 -R /var/www 阅读全文
posted @ 2014-07-24 11:23
valentine is me
阅读(619)
评论(0)
推荐(0)

浙公网安备 33010602011771号