![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
apache
折叠-smile
这个作者很懒,什么都没留下…
展开
-
Apache VirtualHost配置
以下文章仅作为参考--by enya 以lampp环境为例子,其他环境只是配置文件的路径不同。 先要在 lampp/etc/httpd.conf ( 这个是Apache 总的配置文件)中,将虚拟路径的注释去掉。 #Include etc/extra/httpd-vhosts.conf 使httpd-vhosts.conf文件起作用,或者直接在httpd.conf中写配置转载 2013-12-31 11:08:31 · 812 阅读 · 0 评论 -
Apache 配置虚拟主机三种方式
一、基于IP 1. 假设服务器有个IP地址为192.168.1.10,使用ifconfig在同一个网络接口eth0上绑定3个IP: [root@localhost root]# ifconfig eth0:1 192.168.1.11 [root@localhost root]# ifconfig eth0:2 192.168.1.12 [root@localhost root]转载 2013-12-31 11:23:59 · 654 阅读 · 0 评论 -
学习linux服务之apache
Linux搭建web站点的重要性大家应该都知道,看看那些知名的网站,哪个不是用Linux搭建的。为什么?安全、访问速度快是最主要的原因了。而大多数用到的软件就是apache了,因为apache在功能、性能和安全性方面的表现都是比较突出的,可以较好的满足Web服务器用户的应用需求。apache有两个版本:1.x和2.x,关于各版本的优缺点可以去百度一下,在此就不再啰嗦了,本文将以2.x版本为例进行讲转载 2014-01-02 15:26:35 · 606 阅读 · 0 评论 -
linux下apache重启&&无法启用
killall -9 httpd 可以一次关掉所有httpd端口 service httpd start service httpd stop service httpd restart apache 开启/重启/关闭 服务 /home/local/apache/bin/httpd -k start/restart/stop转载 2013-11-18 10:29:56 · 10454 阅读 · 0 评论 -
linux下apache开启url重写的方法(详细说明)
Apache 2.x 中URL重写,是通过mod_rewrite.so 来实现的,所以您要查看您的Apache 是否已经被编译进去这个模块了,并且在Apache的配置文件httpd.conf 中已经调用了这个模块。 Linux开启url重写的方法: 1、打开 apache 里httpd.conf(通常是在/etc/httpd/conf目录里) 2、找到 #LoadModule r转载 2014-01-02 15:25:32 · 3738 阅读 · 0 评论