虚拟主机配置相关
wuyoulv
每天进步一点点
展开
-
lampp修改属主和属组及配置虚拟主机
lampp修改属主和属组在lampp环境下发现按照以前的经验使用命令adduser和groupadd都无法更改一个文件的属主和属组。最后发现原来需要配置文件中更改一些配置,如下:vi /opt/lampp/etc/httpd.conf 在166行找到IFModule unixd_module 在173行有user daemongroup daemon改成user wwwgroup www重启原创 2017-06-20 00:07:42 · 284 阅读 · 0 评论 -
放大镜jquery
<!DOCTYPE html><html> <head> <meta charset="utf-8"/> <title>jQuery事件处理</title> <style> #did{width:300px;height:300px;border:1px solid #ddd;overflow:hidden;positi原创 2017-06-20 00:14:46 · 238 阅读 · 0 评论 -
linux 配置虚拟主机
linux下配置虚拟主机查看apache的配置文件内的内容cat /opt/lampp/etc/httpd.conf将里面的内容:#Include etc/extra/httpd-vhosts.conf 前面的#去掉 然后配置/opt/lampp/etc/httpd.conf文件 在里面添加一句: DocumentRoot "/opt/lampp/htdocs/Lavarel/public"原创 2017-07-19 17:09:02 · 849 阅读 · 0 评论 -
Warning: require(): open_basedir restriction in effect.
Warning: require(): open_basedir restriction in effect. File(/home/wwwroot/default/1211/bootstrap/autoload.php) is not within the allowed path(s): (/home/wwwroot/default/1211/public/:/tmp/:/proc/) in /原创 2017-10-12 13:29:17 · 3183 阅读 · 0 评论