![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
apache
流年ban夏
这个作者很懒,什么都没留下…
展开
-
apache错误:server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName'
linux配置apache环境重启是遇到:AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message只需要在apach原创 2017-05-17 11:10:02 · 4398 阅读 · 0 评论 -
禁止apache显示目录索引的常见方法
简单说一下说下禁止禁止Apache显示目录索引的常见的3种方法:1。修改配置文件<Directory /var/www/> Options FollowSymLinks MultiViews</Directory>将 Option 中的 Indexes 去掉即可,Indexes 的作用就是当该目录下没有 index.html 文件时,就显示目录结构,去掉 Indexes ,A原创 2017-05-18 19:23:08 · 5085 阅读 · 0 评论 -
apache隐藏版本号
默认情况下,Apache会显示版本号及操作系统版本,甚至会显示服务器上安装的是什么样的Apache模块,这是很不安全的。 只需要修改一下apache2的配置文件中的ServerSignature参数 新版本的apache2相关的配置文件在/etc/apache2/conf-enabled#被使用文件的软连接sudo vim security.conf #找到 ServerSignature原创 2017-05-18 19:49:35 · 1065 阅读 · 0 评论 -
ubuntu下安装配置memcache
Memcache是danga.com的一个项目,最早是为 LiveJournal 服务的,目前全世界不少人使用这个缓存项目来构建自己大负载的网站,来分担数据库的压力。 它可以应对任意多个连接,使用非阻塞的网络IO。由于它的工作机制是在内存中开辟一块空间,然后建立一个HashTable,Memcached自管理这些HashTable。 更多详细的信息可以来Memcache官方网站了解:#官方网站原创 2017-05-20 18:52:24 · 1168 阅读 · 0 评论 -
windows下Apache虚拟主机配置
找到host文件:C:\Windows\System32\drivers\etc\hosts用记事本或者其他编辑器打开host文件,并在其中增加几行代码。 这里输入两个测试域名:666.666.com777.777.com在hosts这么增加:127.0.0.1 666.666.com 127.0.0.1 777.777.com 修改httpd.conf文件:打开文件:xx原创 2017-06-28 15:49:46 · 400 阅读 · 0 评论 -
xampp Apache Access forbidden! Error 403 解决方法
windows下使用xampp Apache配置虚拟主机,访问相关网页出现:xampp Apache Access forbidden! Error 403只需要将http.conf文件中的: <Directory /> AllowOverride none Require all denied </Directory> 改成 <Directory /> Se原创 2017-06-28 15:20:27 · 1493 阅读 · 0 评论 -
Apache主配置文件httpd.conf简单解释
#服务器根目录ServerRoot "/etc/httpd"#端口#Listen 12.34.56.78:80Listen 80#域名+端口来标识服务器,没有域名用ip也可以#ServerName www.example.com:80#不许访问根目录<Directory /> AllowOverride none Require all denied</Directory原创 2017-07-15 12:09:06 · 541 阅读 · 0 评论