
上QQ阅读APP看书,第一时间看更新
Summary
This chapter only dealt with the configuration to serve static pages, but there are already many options to set. The relevant options can be grouped into three categories:
- Options that tell Lighttpd where to look for a file.
- Options that tell Lighttpd which interfaces and addresses to serve.
- Options that tell Lighttpd how to serve content, for example,which MIME type.
We learned about includes and variables, and had a brief introduction to regular expressions that Lighttpd uses in many places.
The next chapter will discuss more ways to do virtual hosting, and how we can add dynamic content to our bag of tricks.