wampserver2.5集成环境的安装和使用就不多说了,网上有很多教材.安装好后找到apache的配置文件httpd.conf.默认位置是: swap安装目录\wamp\bin\apache\apache2.4.9\conf\httpd.conf 在278行处找到(也可全文搜索) onlineoffline tag - don't remove Require local 将此处修改如下 onlineoffline tag - don't remove Require local Deny f…
vue配置手机通过IP访问config/index.js// Various Dev Server settings host: '0.0.0.0', // can be overwritten by process.env.HOST port: 8088, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: false, erro…
由于最近在配置负载均衡环境 外网使用Nginx做代理,分发到Apache服务器上,所以不希望Apache配置的服务被外网访问,只希望内网Nginx访问,所以只能使用局域网IP访问 配置方法: 打开Apache配置文件 vim /etc/httpd/conf/httpd.conf 配置成下面这样 <Directory "/var/www"> Options All AllowOverride None Order Deny,Allow Deny From all Allow…