#配置自己的虚拟主机<VirtualHost*:80>#网站目录,如果在www目录下的php目录,下面就填写F:/www/phppServerAdminwww.ecx.comDocumentRoot"D:/wamp/www/ecx"#域名ServerNamewww.ecx.com#这里配置欢迎首页面DirectoryIndexindex.htmlindex.htmindex.phpErrorLog"logs/dummy..
分类:
其他好文 时间:
2015-11-13 19:12:10
阅读次数:
215
<?xmlversion="1.0"encoding="UTF-8"?><!--LicensedtotheApacheSoftwareFoundation(ASF)underoneormorecontributorlicenseagreements.SeetheNOTICEfiledistributedwiththisworkforadditionalinformationregardingcopyrightownership.TheASFlicensesthisfiletoYouunder..
分类:
其他好文 时间:
2015-11-04 19:51:01
阅读次数:
293
打开httpd.conf文件 去掉LoadModule vhost_alias_module modules/mod_vhost_alias.so前面的#号 去掉Include conf/extra/httpd-vhosts.conf这句前面的#号 然后打开apache目录下\conf\e...
分类:
Web程序 时间:
2015-10-24 08:55:33
阅读次数:
227
在httpd2.4上,必须要指定DocumentRoot该目录的权限,不管是在中心主机还是虚拟主机。在httpd2.2上,则无需指定。在httpd2.4系列配置https服务:注意:如果用httpd2.4配置https服务,要在ssl.conf配置文件中使用<Directory></Directory>指定网站文档目录的权限。在..
分类:
Web程序 时间:
2015-10-20 01:25:57
阅读次数:
329
转自 :http://www.cnblogs.com/nixi8/p/4869760.html配置文件说明#定义Nginx运行的用户和用户组user www www; #nginx进程数,建议设置为当前主机的CPU总核心数。worker_processes 8; #全局错误日志定义类型,[ debu...
分类:
其他好文 时间:
2015-10-13 16:58:37
阅读次数:
160
rhel7http实例
配置web:虚拟主机配置;https;不同端口虚拟主机
配置WWW
/etc/httpd/conf/httpd.conf是主要配置文件
/etc/httpd/conf.d/*.conf很多额外的参数文件,扩展名是.conf,一般在这里面配置,好处是当升级系统时,不需要改动原来的配置文件,只要将.conf复制到正确的地..
分类:
Web程序 时间:
2015-10-13 13:55:37
阅读次数:
302
一、开启apache虚拟主机l编辑httpd.conf配置文件vim/usr/local/apache2/conf/httpd.conf找到#Virtualhosts#Includeconf/extra/httpd-vhosts.conf把此行注释去掉l编辑虚拟主机文件vim/usr/local/apache2/conf/extra/httpd-vhosts.conf找到:<VirtualHost*:80>ServerAdminw..
分类:
其他好文 时间:
2015-10-10 12:39:43
阅读次数:
255
php模块服务配置配置如下vim/usr/local/nginx_php/etc/php-fpm.conf[global]pid=/usr/local/nginx_php/var/run/php-fpm.piderror_log=/usr/local/nginx_php/var/log/php-fpm.log[www]listen=/tmp/php-fcgi.sockuser=php-fpm;运行用户group=php-fpm;组listen.owner=nobody;监听p..
分类:
Web程序 时间:
2015-10-02 06:45:10
阅读次数:
167
一、CentOS6中httpd相关介绍系统所带rpm包为:httpd-2.2.15-39.el6.centos.x86_64配置文件/etc/httpd/conf/httpd.conf/etc/httpd/conf.d/*.conf[root@localhost~]#grep"Section"/etc/httpd/conf/httpd.conf###Section1:GlobalEnvironment//全局环境设置###Section2:‘Main‘serve..
分类:
Web程序 时间:
2015-09-20 14:49:38
阅读次数:
198
1.不配置Context标签首先我们需要配置一下host文件,路径为C:\Windows\System32\drivers\etc\hosts,该文件是ip地址和域名的映射文件,在该文件中添加如下代码:127.0.0.1 www.kevin.com这样当我们在浏览器中输入http://www.kev...
分类:
其他好文 时间:
2015-09-19 21:01:52
阅读次数:
357