s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
3. Configuration File3.1. Overviewphhttpd uses an XML config file format to express how it should behave while running. More information on XML may be found near http://www.w3.org/XML/ phhttpd's configuration centers around the concept of virtual servers. For us, a virtual server may be thought of as the merging of a document tree and the actions phhttpd takes while serving that content. phhttpd.conf may be thought of as having two main sections. The global section, which defines properties that are consistent across the entire running phhttpd server, and multiple virtual sections that describe properties of that only apply to a virtual server. There will only be one global section while multiple virtual sections are allowed. 3.2. Global Config SectionThe global section defines properties of the running server that don't apply to a single virtual server. It should be enclosed in Global config entities
3.3. Virtual ServersA Virtual Server can be thought of as the abstraction serving up a content tree ( "docroot" in Apache speak). There are a set of attributes that are used to define a virtual server. These attributes are used to decide which virtual server will process a client's request. Then there are attributes which define how the content is served. A virtual server must have a docroot. The virtual tag in the config file has a docroot attribute that must be set.
Global Config Entities
|