search for: error_pag

Displaying 14 results from an estimated 14 matches for "error_pag".

Did you mean: error_page
2009 Sep 21
1
redirect
...pd/ssl/server.key; ssl_client_certificate /etc/httpd/ssl/ca-bundle.crt; ssl_verify_client on ............................................................................................. ............................................................................................. error_page 400 /400.html; location = /400.html { root /usr/share/nginx/html; but the error page 400 statement is simply ignored. Does anyone have an idea how can I do it ? I tried to find the 400 error page, thinking maybe I can make the redirect there, but it is simply not to be found...
2013 Sep 23
0
400 bad request
...l, I solved it in nginx conf here part of my conf access_log /var/log/nginx/gancx.access.log; error_log /var/log/nginx/gancx.error.log; client_body_in_file_only clean; client_body_buffer_size 32K; charset UTF-8; source_charset UTF-8; client_max_body_size 300M; error_page 400 404 = @notfound; error_page 500 502 504 = @server_error; error_page 503 = @maintenance; location @notfound { rewrite ^(.*)$ $scheme://$host permanent; } location @server_error { rewrite ^(.*)$ $scheme://$host permanent; } location...
2012 Dec 06
2
pasenger does not start puppet master under nginx
...listen 80; server_name bangvmpllda02.XXXXXX.com; charset utf-8; #access_log logs/http.access.log main; location / { root html; index index.html index.htm index.php; } #error_page 404 /404.html; # redirect server error pages to the static page /50x.html # error_page 500 502 503 504 /50x.html; location = /50x.html { root html; } # proxy the PHP scripts to Apache liste...
2012 Dec 17
11
[Puppet Upgrade] Puppet agent does not work
...or: #777777; } #site_footer a { color: #65498e; } #site_footer a:hover { color: #9681d9; } #site_header .corporate_identity { display: none; } </style> <link rel="stylesheet" type="text/css" href=" http://www.modrails.com/error_pages/1.0/error_page.css"> </head> <body> <div id="site_container"> <div id="site_header"> <ul class="corporate_identity "> <li class="logo"...
2011 Mar 16
1
Help overriding rescue_action_in_public in Rails 3
...ional_error_file(status_code) render :template => "errors/500", :status => 500, :layout => ''application'' end However, Rails 3 no longer has render_optional_error_file. Instead, you need to overriderescue_action_in_public, which I do: # config/initializers/error_page.rb module ActionDispatch class ShowExceptions protected def rescue_action_in_public(exception) status = status_code(exception).to_s template = ActionView::Base.new(["#{Rails.root}/app/views"]) if ["404"].include?(status) file...
2013 Mar 14
1
Ubuntu 12.10 Nginx Rails 3.2.13. Deploy in sub URI. Nothing happens!
.../home/luis/.rvm/wrappers/ruby-1.9.3-p392/ruby; server { listen 80; server_name domain.com; root /home/lacy/public_html; passenger_enabled on; passenger_base_uri /myapp1; location / { root html; index index.html index.htm; } error_page 500 502 503 504 /50x.html; location = /50x.html { root html; } } Here is my deploy.rb: require "bundler/capistrano" require "rvm/capistrano" set :rvm_ruby_string, :local set :domain, ''www.myapp1.domain.com'' se...
2009 Jan 07
13
HTTP parse error due to an extra percent sign
If you append an extra percent sign to a URL that gets passed to mongrel, it will return a Bad Request error. Kind of odd that "http://localhost/%" causes a "Bad Request" instead of a "Not Found" error. Here is the error from the mongrel log: HTTP parse error, malformed request (127.0.0.1): #<Mongrel::HttpParserError: Invalid HTTP format, parsing fails.>
2023 Mar 28
0
nginx-1.23.4
...ly", "data between ccs and finished", "packet length too long", "too many warn alerts", "record too small", и "got a fin before a ccs" понижен с уровня crit до info. *) Исправление: при использовании HTTP/2 и директивы error_page для перенаправления ошибок с кодом 400 могла происходить утечка сокетов. *) Исправление: сообщения об ошибках записи в syslog не содержали информации о том, что ошибки происходили в процессе записи в syslog. Спасибо Safar Safarly. *) Изменение: при использовании zlib...
2010 Jul 28
0
nginx-0.8.47
éÚÍÅÎÅÎÉÑ × nginx 0.8.47 28.07.2010 *) éÓÐÒÁ×ÌÅÎÉÅ: ÐÅÒÅÍÅÎÎÁÑ $request_time ÉÍÅÌÁ ÎÅ×ÅÒÎÙÅ ÚÎÁÞÅÎÉÑ ÄÌÑ ÐÏÄÚÁÐÒÏÓÏ×. *) éÓÐÒÁ×ÌÅÎÉÅ: ÏÛÉÂËÉ, ÐÅÒÅÈ×ÁÞÅÎÎÙÅ error_page, ÎÅ ËÜÛÉÒÏ×ÁÌÉÓØ. *) éÓÐÒÁ×ÌÅÎÉÅ: ÅÓÌÉ ÉÓÐÏÌØÚÏ×ÁÌÓÑ ÐÁÒÁÍÅÔÒ max_size, ÔÏ cache manager ÍÏÇ ÚÁÃÉËÌÉÔØÓÑ. ÏÛÉÂËÁ ÐÏÑ×ÉÌÁÓØ × 0.8.46. -- éÇÏÒØ óÙÓÏÅ× http://sysoev.ru
2013 May 30
0
HTTP 500 error page
...ost; root /var/www/dashboard/current/public; passenger_enabled on; passenger_min_instances 1; # listen 443; # ssl on; # ssl_certificate /opt/nginx/conf/server.crt; # ssl_certificate_key /opt/nginx/conf/server.key; # Rails error pages error_page 500 502 503 504 /500.html; location = /500.html { root /var/www/dashboard/current/public; } } } In my dev env, app running on webrick, when the app generate a http 500 error I get the custom error page just fine.Any idea why the difference? Thanks -- You recei...
2008 Mar 31
3
how to get mongrel to use maintenance.html file?
Does someone know how to tell mongrel_rails to read the public/system/maintenance.html file? -- Posted via http://www.ruby-forum.com/.
2006 Dec 07
17
compress and max upload size?
I am using mongrel_cluster with mod_proxy_balancer and would like to enable compression (assuming it improves throughtput) and limit file size upload. I configured mod_deflate and LimitRequestSize in Apache, but in my trials looks like the proxied calls bypass those directives (the conf goes below). Is there a way to get this? -- fxn # Adapt this .example locally, as usual. # # To be
2013 Jan 11
13
Profiles, Hiera, and create_resources('class','...')
...ng the refactored apache from the github refactor branch): apache_params: apache: default_mods : true default_vhost : false default_ssl_vhost : false service_enable : true serveradmin : ''root@localhost'' sendfile : false error_pages : false apache_vhosts : testvhost1.com : { ip : ''10.0.0.9'', port : ''81'', docroot : ''/tmp/testvhost1.com'', ssl : True } testvhost2.com : { ip : ''10.0.0.9'', port : 82, docroot : '...
2007 Feb 20
6
How to spec code with multiple (interacting) paths
Hi Code with a large number of different paths is probably the biggest problem I have right now. I''ve made a sample class that illustrates the simplest case of one parameter that takes two values: class DataStorer def initialize(logger, emailer, db_updater, do_update_db_step) @logger = logger; @emailer = emailer; @db_updater = db_updater