similar to: mod_rails showing plain text instead of actual page

Displaying 20 results from an estimated 1100 matches similar to: "mod_rails showing plain text instead of actual page"

2009 Apr 27
0
Encoding Problem / mod_rails / passenger / Postgresql 8.3
Hi, when I use mod_rails/passenger with apache2 on linux instead of webbrick for our application, then it stops working with certain browsers like the ie, and konqueror but still works with firefox. I get the following error message: ActionView::TemplateError (PGError: ERROR: invalid byte sequence for encoding "UTF8": 0xad HINT: This error can also happen if the byte sequence does
2012 Jan 30
1
mod_rails under Apache under Ceontos 6
Hello listmates, For some reason we don't seem to be able to launch a Ruby-on-rails application ( http://www.redmine.org/ ) on a CentOS 6 machine under Apache. Nor can I find a mod_rails as a separate package for it. Would anyone have any idea what we might be doing wrong? Thanks. Boris.
2008 Jul 23
1
Rails Rewrite rule (on mod_rails)
Hello, I''m running fine my application on the dev server with apache2 and mod_rails, but on the production server I have a strange issue.. it seems like something is wrong with httpd.conf of .htacces.. the dev server is a DreamHost PS and I''m configuring the production one one HostGator. I have a public/users/ folder with member profile images and a users controller..
2008 Jun 05
0
'mod_rails' Passenger gem on OpenBSD
Hey all, Has anyone had any luck getting mod_rails to install on OpenBSD? Googled around and couldn''t find much. Mikel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To
2012 Jan 31
0
mod_rails under Apache under Centos 6
On Mon, January 30, 2012 12:12, Boris Epstein wrote: > Hello listmates, > > For some reason we don't seem to be able to launch a > Ruby-on-rails > application ( http://www.redmine.org/ ) on a CentOS 6 > machine under Apache. > Nor can I find a mod_rails as a separate package for it. > Would anyone have > any idea what we might be doing wrong? > > Thanks. >
2009 Jan 16
0
How do I deploy a rails app in a subdirectory using mod_rails?
Hello, I''m launching a small web app that my client wants deployed to domain.com/app. They don''t want to do a subdomain. I am trying to figure out how to set the vhost file to tell mod_rails that domain.com/ app is a rails app without effecting the regular website. Any suggestions? Thank you. --~--~---------~--~----~------------~-------~--~----~ You received this message
2008 Apr 16
10
Is Phusion Passenger (mod_rails) good for single app servers
There is a lot of hype over mod_rails, but from my understanding it is more geared for servers with a number of apps on it. The reason it seems that way is how it frees up the memory if an app is stagnant for an extended period. The freeing up of the memory may not be an issue if the application gets a continuous traffic flow. I have a site that I will be putting up in a couple days and am
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
2010 Mar 24
6
dispatch.cgi, dispatch.fcgi, dispatch.rb not present in Public folder
I''m doing a series of ruby on rails tutorials and it got to a part where i need to edit the following files that should be automatically inside the public folder: dispatch.cgi,dispatch.fcgi,dispatch.rb but I have none of these inside my public folder. Is there a reason for this? And how can i change it so they are back The only files in my public folder at present are 404.html 500.html
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>
2009 Feb 20
6
rails 2.2.2 does not work with ruby 1.9.1
Hi everyone! I''ve installed new Ruby 1.9.1 from sources (http://www.ruby-lang.org/en/), then "gem install rails", everything was ok during installation, all tests ("make test") were ok too. After all, i wanted to create my new RoR project, but I could not start it. Plz help me Here is my terminal: [renat@localhost rails]$ rails mysite create create
2009 Feb 19
5
creating virtual hosts with Mongrel?
Does anyone know how to use Mongrel to create virtual hosts? My production site will have all kinds of domains pointing to it, and I also need to figure out how to do subdomains. Rails should react to the host name, doing a lookup based on the name and pull different records from the database based on this. For example, I''d like www.mysite.com to point back to 127.0.0.1:3000, and the
2006 Jul 14
4
Rails Lighttpd Issue on Fedora
Hi guys, I''m here again with a problem. I have a rails app called brewed. It''s located /home/user/brewed. My lighttpd.conf is located at /home/user/lighty. When I execute lighty on port 80 with: /usr/local/sbin/lighttpd -f /home/user/lighty/lighttpd.conf rails seems to work fine. If I type www.mysite.com/main/index on my browser, the page comes out well. I have my files
2006 Jan 23
5
Variable Scoping Problem
I am having some problems with variable scoping. I need to be able to set a variable that is accessable by other methods within the class (or instance) (i.e not global). An example is 2 pages that change a class variable: class AjtestController < ApplicationController def initialize @@variable = "init" end def show @display = @@variable @@variable = "change 1"
2011 May 17
1
multiseat support in LightDM?
Does LightDM support multiseat setups? For example, I have a PC with multiple graphics cards, monitors, keyboards - used by multiple users concurrently. Will LightDM let me use one PC by many users concurrently (i.e. login screen on every monitor, allowing to start different sessions for different users). -- Tomasz Chmielewski http://wpkg.org
2011 Jan 14
1
Help on a Display function
> I wanted to simulate the Matlab DISPLAY function for some time now. After seeing a recent proposal by Gabor Grothendieck I came up with the following solution, display <- function(...) { my_names <- lapply(substitute(placeholderFunction(...))[-1], deparse) for (my in my_names) cat(my, "=", eval(parse(text=my)), "\n", sep=" ") } that works about as
2002 Mar 14
1
gif, jpeg and png image files reader AND tcltk image
Hi all, Roger Peng and Jason Turner's suggestion with ImageMagick seem to be the simplest "dirty" way to get the problem solved. But I ran into yet another interesting but quite round-about way to solve the problem (partially). Through tcltk package, one can read in the gif image with > x <- tkcmd("image", "create", "photo", file=mypic.gif)
2016 May 30
0
centos7 tmpfiles.d deleted outdate files
so, there no method to delete special files that below a directory? such as in the directory [root at chenqiang]# tree . ??? test_10d ??? test_20d 0 directories, 2 files [root at chenqiang]# ll total 8 -rw-r--r-- 1 root root 4 5? 20 19:14 test_10d -rw-r--r-- 1 root root 4 5? 10 19:15 test_20d So, I want to delete file test_20d, keep test_10d, how to do that? thx. On 2016?05?27? 02:12,
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
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