lighttpd / Virtual Host Setup with Simple Vhost questions:

http://library.linode.com/web-servers/l … mple-vhost">http://library.linode.com/web-servers/lighttpd/debian-5-lenny#sph_virtual-host-setup-with-simple-vhost

It says:

simple-vhost.document-root = "/pages/"

I am not sure I understand . It says:

The document-root defines the subdirectory under the default-host directory that contains the pages to be served. This is comparable to the public_html/ directory you may be familiar with from some Apache configurations, and is called pages/ in the above configuration.

Why does it require a directory under the default host? Does this mean that when the request is not to the default host then it would be directed to the root of that domain? or does there need to be an identical directory in each domain root?

Do I just create the directories under simple-vhost.server-root for each? Do I create directories for logs? Is that done automatically?

0 Replies

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct