Displaying 20 results from an estimated 300000 matches similar to: "How to set Ruby on Rails with Apache server?"
2006 Feb 24
8
Ruby site structure on Apache
I use a hosting company,it use appache for RoR
I test a ''hello word'' code here
http://www.smtservers.com/demo/
I can see the working code here
http://www.smtservers.com/demo/public/say/hello
My question is how to short the url like
http://www.smtservers.com/demo/say/hello.I do not like public always in
URL
Thanks for help
Mark
--
Posted via http://www.ruby-forum.com/.
2006 Feb 20
4
how to set a simple application in Apache?
I am not familar with the RoR site stucture on Apache.
I did this but.it doen''t work.
I only want to output a word on a page with RoR.
I did this
1. >cd public_html (enter web root)
2. >rails sayhello
3. >cd sayhello
4. >cd app
5. >cd controller (enter controller folder)
6. edit application.rb
def hello
end
7. cd views (enter views folder )
8. add a
2006 Feb 23
11
Need help for simple RoR code.
I try a ''hello world'' demo here,It only show a ''hello word'' on web page
you can see all my codes and structure here
http://www.smtservers.com/demo/
I want to access the ruby app like this
http://www.smtservers.com/demo/say/hello
but I get a 404 error.
Please let me know what problem the code have
I am new for RoR. I am not sure the site structure is ok or
2006 Feb 23
12
RoR site structure on Apache
I try a ''hello world'' demo here,you can see all my codes and structure
http://www.smtservers.com/demo/
I want to access the ruby app like this
http://www.smtservers.com/demo/say/hello
but I get a 404 error.
Please let me know why.
I am not sure the site structure is ok or not.Please give me a help
Thanks
Mark
--
Posted via http://www.ruby-forum.com/.
2006 Apr 19
5
Apache, Rails, FastCGI, Ruby, slow
I''m running Windows XP Pro on a not-so-new machine, Pentium 4 2.4GHz
with 512 RAM. I''ve got Apache 2 installed and I''m using FastCGI to run
Typo in development mode while I design a theme for it. But it''s slow,
very slow.
Inconsistently slow. If I reload a page, sometimes it happens pretty
quickly. Sometimes it takes more than a minute. Sometimes it
2006 May 01
2
Setting up Rails Application on Apache
Hello,
I am trying to setup a rails application on a webserver running Apache
1.3.34. But I have tried everything but its just not working.
I followed all the directions given here:
http://wiki.rubyonrails.org/rails/pages/GettingStartedWithRails
But whatever I do, the Rails welcome page doesn''t show up. I am still
only getting an index listing when I try to access the page.
I ran
2006 May 13
2
Apache 1.3 Ruby on Rails (Slackware 10.2)
Hi,
Im new to Ruby on Rails, it seems to be really powerfull.
I am running Apache 1.3.x and I dont know how to set it up to work with
Ruby on Rails.
I think the problem is Fast CGI because I dont understand how to set
that up.
I can''t find anything regarding Fast-CGI in my apache config file. But I
find this its some sort of cgi.
LoadModule cgi_module libexec/apache/mod_cgi.so
2006 May 15
0
Rails - Apache - Japanese text: ????
Is anybody aware of any special issues Rails has with Japanese/Chinese
characters?
My database is peachy, the application works fine on my local machine
when I run it off of WEBrick, but for some reason when I host it
(Dreamhost) all of the Japanese characters come up "????". I''ve run
killall like five times to restart the server too, so all I can come up
with is that
2005 Mar 05
1
How to provide Rails hosting on Apache/FastCGI enviroment?
Hi, folks.
I am running a small Web Hosting service personally.
I hope to provide rails service on apache/fcgi to my hosting
users. So, I''ve been testing to setup rails application, and
there was no problem. But with Rails version 0.10.0 release,
previous way doesn''t work.
Following is a scenario which worked well before, but now beats me.
1. Eric has his own rails directory
2011 Oct 10
0
passenger , ruby on rails , apache 2.2.21
Hello,
I am configuring apache 2.2 to serve my rails app through passenger.
First, I redirect all http traffic to https with the following:
This is my web server apache conf file.
ServerName sampleapp
NameVirtualHost *:80
<VirtualHost *:80>
Options FollowSymLinks
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
2006 Oct 09
2
Ruby on rails and apache 2.2.3
HI all
I''m new on ruby on rails
I''m trying to setup the environment on my windows XP box to run ruby in
rails
I just followed a receipe I found on
http://wiki.rubyonrails.org/rails/pages/Fast+CGI+and+Apache2+for+Windows+XP
and
http://www.aaronblondeau.com/cms/content/view/24/27/
I got this error message when I try to start my apache server
Syntax error on line 115 of
2006 May 18
2
Using Apache auth to secure certain areas of Rails app
Hello! My setup is Rails 1.1 with Apache 2.x proxying the Rails stuff to
lighttpd. I know how to set up Apache to secure my entire Rails app to
require a username/password challenge. Is it possible to set up the
challenge for only parts of my application? E.g., let''s say I have a
"pub" controller whose views are accessible to anyone.
I am already implementing user
2007 Jan 04
3
Slightly OT: Rails + Mongrel Proxy Server without Apache
Hi,
I''m looking for suggestions on the simplest way to implement an HTTP
proxy under Rails/Mongrel. It should preserve ALL of the proxied HTTP
response - including all header content such keepalives, etc.
Yes, I know I can do this with Apache''s proxy module, and we already
do that for the non-development/test environments. This is just for
the development/test environment
2005 Dec 22
0
Ruby on Rails server times out
I am following this tutorial:
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=2
I''m stuck here:
Run the command: ruby script\server to start the server.
Now open your browser and browse to http://127.0.0.1:3000/
I''m stuck because when I type http://127.0.0.1:3000/ in my browser, it
takes forever to open, and after several minutes it times out. I have
added the
2006 Feb 20
2
what is gem?
Ruby is a language and Rails is a framework.
but what is gem?I am new for RoR. I need your help.
Thanks
Mark
--
Posted via http://www.ruby-forum.com/.
2006 Feb 22
1
Ruby on Rail on apache
Hi,
I m successful in creating & executing ruby on rails program on
web-brick server.
But if i want to run on apache then what i have to do?
--
Posted via http://www.ruby-forum.com/.
2006 Jul 24
7
Apache server-status?auto in rails
Just want to check the status of Apache monitor. but Apache
server-status?auto can not be explained as normal URL in rails.
For Http://localhost/server-status?auto, rails always regard
server-status as one controller/method. It prompts errot: Recognition
failed for "/server-status"
Therefore, can not get the status info of Apache monitor. Pls expert
help me!!! Thanks in advance.
2009 Aug 31
0
How to: Reduce nbr of processes (Ruby, Apache, BackgroundRB)
Hi there,
I''m currently trying to cut back on memory usage on my production
server.
I have noticed that I have 2 ruby processes running on my server: "ruby"
and "ruby1.8". Is this normal? If not, how do I get rid of the 2nd one?
For Apache, I have 6 processes running - what is that good for? How can
I reduce them or should I not?
Thridly, I have 3
2006 Mar 02
1
FC4/Rails/Ruby/Apache/FastCGI wiki anyone?
I have followed a number of fast cgi tutorials to get it installed on FC 4
with ruby but not sure where I went wrong. Which is the best
FC4/Rails/Ruby/Apache/FastCGI wiki out there?
I worry that because I have tried a few now that a simple "monkey at the
keyboard" approach of going through the install may not be enough to save
myself from really diving in and understanding it all :)
2006 Oct 06
0
Setting up apache for rails
I am a newbie to ruby rails and apache so i hope this is not a stupid
question but, have written an application which runs on webrick the
webserver that comes pre-packaged with locamotive. I am now trying to
get the application to run on my apache server but i am having a small
problem!
in my httpd.conf i have set the server to load fast cgi and where the
applications virtual host is to be