<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Apache on yearliny</title><link>https://yearliny.com/tag/apache/</link><description>Recent content in Apache on yearliny</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Tue, 19 Feb 2019 15:02:24 +0800</lastBuildDate><atom:link href="https://yearliny.com/feed/tag/apache/index.xml" rel="self" type="application/rss+xml"/><item><title>Apache2 在用户目录工作</title><link>https://yearliny.com/apache2-enable-userdir/</link><pubDate>Thu, 27 Dec 2018 12:04:13 +0800</pubDate><guid>https://yearliny.com/apache2-enable-userdir/</guid><description>&lt;p&gt;当前 Apache2 在 Debian 及衍生版系统下默认访问路径是 /var/www ，这在生产环境下工作良好，但是开发的时候我们希望它能访问 /home/$USER/ 路径，这样可以便于我们的开发，现有的许多教程已经失去时效性，新版本的设定变得更加简单。&lt;/p&gt;</description></item><item><title>Apache2启用HTTP/2</title><link>https://yearliny.com/apache2-enable-http2/</link><pubDate>Sun, 26 Aug 2018 10:52:49 +0800</pubDate><guid>https://yearliny.com/apache2-enable-http2/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;HTTP/2 可以让我们的应用更快、更简单、更稳定 – 这几词凑到一块是很罕见的！HTTP/2 将很多以前我们在应用中针对 HTTP/1.1 想出来的“歪招儿”一笔勾销，把解决那些问题的方案内置在了传输层中。不仅如此，它还为我们进一步优化应用和提升性能提供了全新的机会！&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;——《Web 性能权威指南》&lt;/em&gt;&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;Ubuntu18.04 官方源已经包含带有HTTP2模块的 Apache/2.4.29 ，所以我们可以很简单的启用 HTTP2。&lt;/p&gt;</description></item><item><title>Apache2 Server禁用Manual</title><link>https://yearliny.com/apache2-server-disable-manual/</link><pubDate>Mon, 09 Oct 2017 17:56:00 +0800</pubDate><guid>https://yearliny.com/apache2-server-disable-manual/</guid><description>&lt;p&gt;查看Apache2的access.log时发现有访问到 &lt;em&gt;yuan.ga/manual&lt;/em&gt; 路径的信息，返回代码还是 200 正常访问，自己去访问一看发现是Apache2的文档，用百度、Bing查了半天也没懂怎么禁用这个，费一点功夫换成Google后终于解决了这个问题，解决起来非常简单。&lt;/p&gt;</description></item><item><title>Ubuntu搭建LAMP环境</title><link>https://yearliny.com/ubuntu-install-lamp/</link><pubDate>Mon, 07 Aug 2017 21:49:09 +0800</pubDate><guid>https://yearliny.com/ubuntu-install-lamp/</guid><description>&lt;p&gt;LAMP环境是许多WEB程序的标配，LAMP环境包括Linux、Apache2、Mysql、PHP，作为最流行的WEB程序环境，安装的过程也在不断的被简化，在Ubuntu中安装LAMP环境甚至只需要一行命令。&lt;/p&gt;</description></item><item><title>Apache2启用IPV6支持</title><link>https://yearliny.com/apache2-enables-ipv6-support/</link><pubDate>Thu, 06 Oct 2016 21:57:40 +0800</pubDate><guid>https://yearliny.com/apache2-enables-ipv6-support/</guid><description>&lt;p&gt;至今为止，IPV4仍然占了压倒性优势，IPV6的流量占整个互联网的不到百分之一。IPV6会渐渐发展，IPV4会长期存在这个状况会长期持续下去，技术的革新并不是一朝一夕发展而成的，这是一个渐进的过程。&lt;/p&gt;</description></item><item><title>WordPress固定链接</title><link>https://yearliny.com/wordpress-permalinks/</link><pubDate>Thu, 29 Sep 2016 21:47:17 +0800</pubDate><guid>https://yearliny.com/wordpress-permalinks/</guid><description>&lt;p&gt;WordPress是一个简单、易用且注重美学的博客程序，而修改固定链接设置不但可以让URL更加美观，对SEO也非常友好，所以大多数人都会选择修改固定链接。直接修改固定连接有可能会导致文章页的404错误，所以需要提前设定好 rewrite。&lt;/p&gt;</description></item><item><title>Mod_pagespeed介绍使用</title><link>https://yearliny.com/mod-pagespeed/</link><pubDate>Sat, 24 Sep 2016 21:31:47 +0800</pubDate><guid>https://yearliny.com/mod-pagespeed/</guid><description>&lt;p&gt;Pagespeed曾经是Google公司推出的CDN加速服务，后来被关闭，加速技术Mod_pagespeed开源。Pagespeed可以作为Apache和Nginx的模块安装，自动进行一系列的后端优化，能够很大程度上提高网页的加载速度。&lt;/p&gt;</description></item><item><title>设置Apache2虚拟主机配置多站点</title><link>https://yearliny.com/apache2-virtual-hosts-configuration-setup-a-multi-site/</link><pubDate>Wed, 06 Apr 2016 23:05:46 +0800</pubDate><guid>https://yearliny.com/apache2-virtual-hosts-configuration-setup-a-multi-site/</guid><description>&lt;p&gt;很多人的VPS都只搭建一个站点，这样未免有点浪费资源了，毕竟除了一些特殊用途的低配置VPS，一般的配置搭建两三个博客还是没有问题的。问题就来了，怎么才能配置Apache的虚拟主机功能。搜索引擎上是有许多教程，但大多是2013年左右的内容，和现在很多地方都不一样了，老教程中的httpd.conf配置也已经不存在了，所以写一篇教程，简单记录这个过程。&lt;/p&gt;</description></item></channel></rss>