Displaying 2 results from an estimated 2 matches for "new_cgi".
Did you mean:
net_cgi
2006 Mar 07
2
freeze_edge problem
...n i go to the front page of my rails app I get
wrong number of arguments (2 for 3)
/var/www/somehost.net/site/public/../config/../vendor/rails/railties/lib/dispatcher.rb:63:in
`failsafe_response''
/var/www/somehost.net/site/public/../config/../vendor/rails/railties/lib/dispatcher.rb:63:in
`new_cgi''
/var/www/somehost.net/site/public/../config/../vendor/rails/railties/lib/dispatcher.rb:35:in
`dispatch''
/var/www/somehost.net/site/public/dispatch.cgi:10
dispatch.rb lines 62-64
62: def new_cgi(output)
63: failsafe_response(output, ''400 Bad Request''...
2005 Dec 30
6
Unable to get the domain in my routes.rb to map custom route tables per domain
I have tried all night trying to find a way to get the host name which is
currently being used within my routes.rb file to do some case/when switching
for specific domains such as this
cgi = ActionController::CgiRequest.new(CGI.new)
case cgi.domain(1)
when /www/
map.connect '''', :controller => ''public'', :action =>
''index''
when