similar to: Strange errors when some paths are wrong

Displaying 20 results from an estimated 6000 matches similar to: "Strange errors when some paths are wrong"

2006 Oct 15
3
Where to put csshover.htc in rails
I try to make a dropdown menu, it works fine in firefox, but not IE. I found some CSS tutorials from Internet, and get an csshover.htc, which works fine with static html page. However, I don''t know where to put it and how to use it in my rails application. Please help, any sample code or links will be greatly appreciated! Thanks! -- Posted via http://www.ruby-forum.com/.
2006 Mar 17
2
Favicon.ico doesn''t show in IE 6
Hello All, I put favicon.ico under "public" folder. Also, I put a copy into "public/images". And I put these 2 lines in my layout file: <link rel="icon" href="images/favicon.ico" type="image/ico" /> <link rel="shortcut icon" href="images/favicon.ico" type="image/ico" /> It works fine in
2006 Dec 01
2
favicon
im trying to figure out how to serve a favicon.ico for my app, does anyone have a line for Mongrel::Configurator? all i can see is that everyone seems to use the 404 handler...how boring.. uri "/favico", :handler => Mongrel::DirHandler.new(File.dirname(__FILE__)+"/favicon.ico") is sort of close, but it says The image ?http://m/favicon.ico? cannot be displayed, because it
2005 Mar 03
5
Whats ''favicon.ico''
I''m seeing the following in the WEBbrick console output after every GET 192.168.0.108 - - [03/Mar/2005:15:35:19 AUS Eastern Daylight Time] "GET /favicon.ico HTTP/1.1" 200 60 - -> /favicon.ico What does /favicon.ico (which doesnt seem to exist in my source) do for Rails? _______________________________________________ Rails mailing list
2005 Nov 22
1
What? - 500 unless class Cart included
I have been struggling with a problem for a while, and now have a workaround, but I want to understand if something is borked in my config or if this is a bug. Setup: Mac OS X 10.4.3; Ruby 1.8.2; Rails 0.14.3 Problem: When I create a brand new project, I get an HTTP 500 status. If I add a Cart model, the 500 goes away: $ rails test create create app/controllers [etc]
2008 Apr 20
2
mod_rails showing plain text instead of actual page
hello! i got this forum powered by apache and mod_rails lately when i create / edit posts, i get plain html text showing up instead of the actual page. here''s what i see: -- Content-Type: text/html; charset=utf-8 Set-Cookie: _mysite_session=BAh7CzoOcmV0dXJuX3RvMDoKdGl0bGV7BmkVdToJVGltZQ2IDhuAK1UeADoL %250AdG9waWNzewZpBnU7Bw2HDhuA2%252FZJ7zoJdXNlcmkGIgpmbGFzaElDOidBY3Rp
2010 Dec 19
0
favicon.ico (shortcut icon) & Internet Explorer 8 & rails
For all the poor programmers out there who have been scratching their heads ... If you do something like <link href=''/images/UltraDedup-icon-003---16x16.ico'' rel=''shortcut icon'' type=''image/x-icon'' /> and place it immediately after the in the <head> section of a webpage then you may experience the following bizarre behavior:
2006 Mar 04
6
Favicon?
I''m sure I''m missing something rudimentary here... I seem to be having difficulty getting my favicon to appear. I have my favicon.ico in the public folder. I''ve configured my route.rb to route the intro page to my "home" controller. I''m using application.rb in my views to template the headers and footers. Here is the tag in my <head> in the
2006 Feb 16
0
Really Really Important
Now that I''ve got you attention ;-) Of course I am talking about favicon.ico It doesn''t seem to be working. RAILS_ENV => production (apache 2 w/fastcgi) webrick run environment development neither of them seem to deliver public/favicon.ico normally, on apache, I would put it in /var/www/html/favicon.ico and it works (RHEL) Is there a trick for this or does ruby routes
2006 Feb 22
2
Using ez_where
Hi All, I am trying to pass values to ez_where to construct my conditions. I need to know how the params need to be formated for ez_where. My search class looks like this: def search @display_ad = DisplayAd.new(params[:display_ad]) cond = Caboose::EZ::Condition.new do pub_date == ''@display_ad.pub_date'' io_number =~
2005 Sep 12
0
Icecast 2.3.0 RC2 Annoucement
Ok, this bug has been identified, logged, and fixed in SVN. We will be most likely building an RC3 in short order... oddsock At 03:43 PM 9/9/2005, Joel Ebel wrote: >Playing around with it some, it seems to be related to the web >interface. If I don't touch the web interface it seems to stay running, >but when I start trying to view pages in the web interface it quickly dies.
2008 Jan 13
2
access to webpage code
dear R user, I need a function that download the code of web page as html, to further parse it. something like >site="http://www.R-project.com" >code=function(site) >code !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>The R Project for Statistical Computing</title> <link rel="icon"
2006 Mar 16
2
WEBrick and OS X 10.4.5 problems?
Has anyone who is running OS X 10.4.5 and the security patches thereafter noticed that WEBrick is no longer functioning? I have a machine at school that I believe to be patched with 10.4.5 but not with the latest security patch and WEBrick seems to run fine for it. However, on my machine at home I can''t get WEBrick to successfully run even freshly generated apps. For both
2006 Jan 23
1
favicon.ico placement
<link rel="shortcut icon" href="/public/favicon.ico" > This causes a routing error, and the icon doesn''t load. Should I add something to my routes.rb file, or should I change the href in the above link? -- Posted via http://www.ruby-forum.com/.
2009 Aug 28
4
favicon.ico and robots.txt
Hello, I'm running an apache 2.2 webserver on centos 5.3. I'm seeing frequent requests for robots.txt and favicon.ico from the logs those files should be in the document root area. What are these files, is this something the rpm installs, or do i have to retrieve or generate them? Thanks. Dave.
2006 Apr 13
4
apache permission problems
Well i finally got CentOS 4.3 booting, apache is installed, and im trying to setup some virutal hosts, i want the main site to be my default virtual host (which i had on my gentoo server) but i keep getting permission denied errors: Forbidden You don't have permission to access / on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to
2006 Mar 01
3
Strange Error
Hi! I''m reading the ''Agile Web Development with Rails'' book and I tried to write the depot application. But almost at the beginning everything goes wrong and my application doesn''t work. When I try to open http://localhost:3000/admin with my Firefox, a blank site comes up. This is the first mistake. And then the window of my WEBrick shows some strange
2007 Jan 17
8
can i force a favicon.ico ?
lo there all, i am running two websites on one server. Both use the same code and both domains point to the same public folder. I use different logos by using a session variable called session[:domain] that i find with env_table[''HTTP_HOST''] so anyway, both need a different icon to go in the bookmarks and url, i know this is done with a favicon.ico, but can i force the server
2011 Jan 07
5
Deployment issues
Hello, For those of you who have solved the learning hurdle of rails deployment, all I can say is congratulations! I''m struggling, frustrated that my app, which runs so well on my linux box, generates such odd errors on my vps and completely fails to do anything. For example, at the moment my production.log file has the error: ActionController::RoutingError (No route matches
2012 May 27
2
Setting Up A Rails App With Passenger
Been trying to get Passenger installed and setup to run a rails app. Everytime I goto eaa.mysite.com in Firefox the web browser goes out to the Internet instead of serving up the website. Why does this occur? Below is part of the configuration for apache2.conf: ======================================================= # Setup a virtual host for the rails apps to run in. <VirtualHost *:80>