Bug 22652 - Init script creates weird docroot directory in vhost environment
Summary: Init script creates weird docroot directory in vhost environment
Alias: None
Product: Sisyphus
Classification: Development
Component: lighttpd (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Alexei Takaseev
QA Contact: qa-sisyphus
Depends on:
Reported: 2009-12-30 21:18 MSK by Nikolay A. Fetisov
Modified: 2009-12-31 20:51 MSK (History)
1 user (show)

See Also:

Creating all of the document roots (578 bytes, patch)
2009-12-30 21:34 MSK, Nikolay A. Fetisov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolay A. Fetisov 2009-12-30 21:18:40 MSK
Для 1.4.23-alt2 при описании в файле конфигурации виртуальных хостов через конструкции вида
$HTTP["host"] =~ "server.\tld$" {
   server.document-root = "/path/to/vhost1"
в функции ajust_docroot() в lighttpd.init в переменную docroot заносятся все найденные значения server.document-root, и далее создаётся дерево каталогов вида "/path/to/vhost1^J/path/to/vhost2^J/path/to/vhost3^J...", где ^J - символ перевода строки.
Comment 1 Nikolay A. Fetisov 2009-12-30 21:34:39 MSK
Created attachment 4163 [details]
Creating all of the document roots
Comment 2 Repository Robot 2009-12-31 10:36:35 MSK
lighttpd-1.4.23-alt3 -> sisyphus:

* Thu Dec 31 2009 Vladimir V. Kamarzin <vvk@altlinux> 1.4.23-alt3

- Properly create all docroots specified in config file, patch by
  Nikolay A. Fetisov (Closes: #22652).
Comment 3 Nikolay A. Fetisov 2009-12-31 20:51:10 MSK