Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/styllloz/public_html/qa-include/qa-base.php on line 1175

Warning: session_start(): Cannot start session when headers already sent in /home/styllloz/public_html/qa-include/app/users.php on line 162

Warning: Cannot modify header information - headers already sent by (output started at /home/styllloz/public_html/qa-include/qa-base.php:1175) in /home/styllloz/public_html/qa-include/app/users.php on line 1267

Warning: Cannot modify header information - headers already sent by (output started at /home/styllloz/public_html/qa-include/qa-base.php:1175) in /home/styllloz/public_html/qa-include/app/page.php on line 356
lighttpd as frontend - code-flow.club | Q&A

lighttpd as frontend


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
19 views
there are two servers
the first is c debian lighttpd as frontend
second debian with apache on it raised website on bitrix
in the root folder of the main website
under the directory the second site

we need to configure lighttpd so that got
1) place 10.10.10.10/ on xxx.ru
2) place htttp://10.10.10.10/eee/ yyy.ru

1 decided in this way:

$HTTP["host"] =~ "www.xxx.ru" {
proxy.server = ( " => ( ( "host" => "10.10.10.10" ) ) )
}

to solve the second problem did
90 vhost port in apache for this directory and re direction as in the first solution of the white screen

or is it better to do on nginx
if anyone knows how to do it on nginx please write
by | 19 views

1 Answer

0 like 0 dislike
It is better to do on nginx. Still, lighty — brake.
by

Related questions

0 like 0 dislike
3 answers
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
asked Mar 24, 2019 by juffinhalli
0 like 0 dislike
1 answer
asked Mar 23, 2019 by mihavxc
110,608 questions
257,186 answers
0 comments
35,192 users