Answer the question
In order to leave comments, you need to log in
Autosubdomains on Lighttpd how to do?
How to implement autosubdomains on lighttpd server? The site is located in one folder, you need an implementation like http://(name).site.ru , but we have http://site.ru/(name)/ . Let me know if anyone has experienced this.
We have this (I skipped the rest of the code because it takes up a lot of space), but it does not work:
$HTTP["host"] =~ ".*\.сайт.ру" {
url.rewrite-if-not-file = (
"^(.*)$" => "сайт.ру/index.php?имя=$1",
)}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question