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: 404


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: 404
  • From: Alexander Kochetov <kochetov.alexander@xxxxxxxxx>
  • Date: Thu, 23 Sep 2010 13:33:41 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=s0hohcgTtr1XvKsk4ML0FX8VKbx2tFFrfcdeMYOeMkU=; b=NSDcqa3ihAGpOA4TqSvfVCrPFSvaIVHW7IYuCIU3csy3arIND4wcE6RHaSlaP4W+pG n2juhuh/kJY+8gZnbFzuNtoHu9UCw6JsE5H5CkQ37J4+FIBx7aZb46WXunST8fEwTtH+ L6xQzjg3NRKeUwkTnNcFqZGVhdu4EjeeDiXOc=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=cwngeMj4ssL3R1WIikvwfLFFo0wu/lvOI6l6+MCei8Quogp24x4UKqrSuaVxY80aeO fFOyYLC0oWkQWU4T6KL+8bs7htp3QfcG5fxXXsergpGFIVGM5BBZcHcu+TW9TW3g8cy5 Bt7hIGf7F2fGmA0c+alP4Ek46cI7Zis1DNJNQ=
  • In-reply-to: <933eadf992bfdee5d3ad895d962c9551.NginxMailingListRussian@xxxxxxxxxxxxxxx>
  • References: <933eadf992bfdee5d3ad895d962c9551.NginxMailingListRussian@xxxxxxxxxxxxxxx>

23  2010. 13:13  Dmitry Veselov
<nginx-forum@xxxxxxxx> :
>  -  
> ,     nginx 
>  ,   
> .   :
> http:/domain.com/  
> http:/domain.com/pupkin  
> http:/domain.com/pupkin/   html,
> -   css, 
>    html.  
>    ,  
>  .  :

  error_log   ?
         ,  
   ,     .
 /usr/share/nginx/html/pupkin/left0001.jpg
   ?


> [code]
>  server {
>    limit_conn  myzone 10;
>    listen    80;
>    server_name localhost;
>
>    #charset koi8-r;
>
>    access_log /var/log/nginx/def.access.log main;
>    error_log  /var/log/nginx/def.error.log;
>
>    location = / {
>      root  /usr/share/nginx/html;
> #      index index.html index.htm;
>      index 404.html 404.htm;
>    }
>
>    error_page 404       /404.html;
>
>    location = /404.html {
>      root  /usr/share/nginx/html;
>    }
>
>    # redirect server error pages to the static page /50x.html
>    #
>    error_page  500 502 503 504 /50x.html;
>    location = /50x.html {
>      root  /usr/share/nginx/html;
>    }
>  }
> [/code]
>
> 404.html:
> [code]
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd";>
>
>
>
> .content {
> background:#FFFFFF url(./content0.jpg) no-repeat scroll center top;
> height:590px;
> vertical-align:top;
> color:#FFFFFF;
> font-size:14px;
> line-height:25px;
> font-family:tahoma,arial,sans-serif;
> width: 940px;
> text-align: center;
> }
> body{background-color:#4d4d4d; margin: 0px;}
> .left {
> background:transparent url(left0001.jpg) repeat-y scroll left center;
> width:21px;
> }
> .right {
> background:transparent url(right001.jpg) repeat-y scroll right center;
> width:21px;
> }
> .footer {
> background:transparent url(footer01.jpg) no-repeat scroll left top;
> height:26px;
>
> }
>
>
>
> &nbsp;<!-- Start_Module_461 -->&nbsp;The site you have requested is
> currently unavailable. Please check back soon.
>
> We apologize for the inconvenience.<!-- End_Module_461 -->&nbsp;
>
>
>
>
> [/code]
>
> Posted at Nginx Forum: 
> http://forum.nginx.org/read.php?21,133277,133277#msg-133277
>
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@xxxxxxxxx
> http://nginx.org/mailman/listinfo/nginx-ru
>



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

  • References:
    • 404
      • From: Dmitry Veselov

 




Copyright © Lexa Software, 1996-2009.