ðòïåëôù 


  áòèé÷ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  óôáôøé 


  ðåòóïîáìøîïå 


  ðòïçòáííù 



ðéûéôå
ðéóøíá












     áòèé÷ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: if else


  • To: "nginx-ru@xxxxxxxxx" <nginx-ru@xxxxxxxxx>
  • Subject: Re: if else
  • From: Denis F. Latypoff <latypoff@xxxxxxxxx>
  • Date: Tue, 17 Apr 2012 01:48:02 +0700
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1334602083; bh=8LdwRPxw6U8FL94LdeH7/yJ34vx0axIZlwyN1Z2UlSo=; h=From:To:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=L0n5EZw6eBCeyWo9siA5SRhKcdZcKONlHbmsYKnOgdn5NiVlbACBSCUsvgyl/df6k G3NCgt1fpu8gJ0K1Ku368+zLRnbFI+hp4Wz0LpMUpkcMJeNYr6suxSvI8RsHmOPNrP tqIfiJDlv9SQexKf5p4V1BZ2g8nlGWXnhzh3m+1Q=
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1334602082; bh=8LdwRPxw6U8FL94LdeH7/yJ34vx0axIZlwyN1Z2UlSo=; h=From:To:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=SDrsYtTbCKX5QDqjGcr36SUUw6oGp6nfi7hwBBZzJyot9ZVtCE5QQlfjmCaBaFcck mAB6/2Hx7WmRjIM2IIwei2iROlWow1+7c8dRTcqNRTVAUcly12AGDL3hBx3DO6Fi95 jM2RY68eSE7gcofge4CkZa/8K/BzFQNQDRnwOTyk=
  • In-reply-to: <CA+WOrk0GFCXY-ijmttmTREiDVLfBqsq46FVO7TDXAQha6Bu7-w@mail.gmail.com>
  • References: <CA+WOrk0GFCXY-ijmttmTREiDVLfBqsq46FVO7TDXAQha6Bu7-w@mail.gmail.com>

17.04.2012, 01:44, "ink08" <ink08@xxxxxxxxxxxxx>:
> if ($host = 'domain') {
> ššššreturn 404;
> }
> else {
> ššššreturn 403;
> }
>
> ×ÏÔ ÎÁ ÔÁËÕÀ ËÏÎÓÔÒÕËÃÉÀ nginx -t ÇÏ×ÏÒÉÔ 'nginx: [emerg] unknown
> directive "else"'
> ÞÔÏ ÎÅ ÔÁË?

îÅÉÚ×ÅÓÔÎÁÑ ÄÉÒÅËÔÉ×Á "else"

-- 
br, Denis F. Latypoff.

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.