Skip to content

Instantly share code, notes, and snippets.

View kumardev's full-sized avatar

Kumardev Pathak kumardev

View GitHub Profile
@kumardev
kumardev / gist:7079440
Created October 21, 2013 06:24
Error Log
Started GET "/" for 127.0.0.1 at 2013-10-21 11:48:14 +0530
Processing by Refinery::PagesController#home as HTML
Parameters: {"locale"=>:en}
Rendered public/404.html (160.6ms)
Filter chain halted as :find_page rendered or redirected
Completed 404 Not Found in 1633ms (Views: 604.1ms | ActiveRecord: 11.5ms)
Started GET "/refinery/" for 127.0.0.1 at 2013-10-21 11:48:25 +0530
Processing by Refinery::Admin::DashboardController#index as HTML
Parameters: {"locale"=>:en}
Completed 401 Unauthorized in 11ms
@kumardev
kumardev / Log
Last active December 26, 2015 02:29
logs - error and access
Error.log
[Thu Oct 17 07:24:59 2013] [crit] [client 123.201.18.27] (13)Permission denied: /var/www/testgarage.railshouse.com/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Thu Oct 17 07:24:59 2013] [crit] [client 123.201.18.27] (13)Permission denied: /var/www/testgarage.railshouse.com/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
Access.log
127.0.0.1 - - [09/Oct/2013:11:32:06 +0530] "GET / HTTP/1.1" 200 780 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:24.0) Gecko/20100101 Firefox/24.0"
TestGarage::Application.routes.draw do
root :to => 'pages#home'
get "sessions/new"
get "sessions/create"
get "sessions/failure"