tilfse条件条件赋值

时间:2018-10-27 23:52:25

标签: r if-statement

我尝试根据测试有条件地将$HTTP["scheme"] == "http" { $HTTP["host"] =~ ".*" { url.redirect = (".*" => "https://%0$0") } } $SERVER["socket"] == ":443" { ssl.engine = "enable" ssl.ca-file = "/etc/lighttpd/fullchain.pem" ssl.pemfile = "/etc/lighttpd/server.pem" $HTTP["url"] =~ "^/directory/" { url.rewrite-once = ( "^/directory/(.*)$" => "/directory/index.html" ) proxy.header = ( "map-urlpath" => ("/directory/" => "/") ) proxy.server = ( "" => ( "" => ( "host" => "192.0.0.1", "port" => 123))) } } 分配给变量,但是当我使用tibble时,得到的列表仅包含一列而不是tibble 。我知道我可以使用常规的if ... else语句来执行此操作,但是我想知道是什么导致ifelse

的行为
ifelse

0 个答案:

没有答案