Skip to content

Instantly share code, notes, and snippets.

Kumardev Pathak kumardev

View GitHub Profile
View gist:7079440
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 Dec 26, 2015
logs - error and access
View Log
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"
View routes.rb
TestGarage::Application.routes.draw do
root :to => 'pages#home'
get "sessions/new"
get "sessions/create"
get "sessions/failure"
You can’t perform that action at this time.