similar to: Apache configuration

Displaying 20 results from an estimated 3000 matches similar to: "Apache configuration"

2007 May 17
3
Ubuntu rails server
Hello, I try to install on my ubuntu ruby on rails server. I have install ruby,rails,gem and all files but doesn''t work. When i run the server with webrick works perfect but when i use apache i get this message: We''re sorry, but something went wrong. We''ve been notified about this issue and we''ll take a look at it shortly. Here are my installed app versions:
2006 Feb 12
1
fcgid -> errors
Hi, I''m trying to get rails running on Debian stable with Apache 2, mod_fcgid, Rails 1.0. The application works fine with webrick (*). Let''s start here: @eugene [/var/www/ls2/linuxsi/public] $ ./dispatch.fcgi Status: 500 Internal Server Error Seems to result in the following in the log files: [12/Feb/2006:12:18:40 :: 4105] starting [12/Feb/2006:12:18:40 :: 4105] terminated
2006 Aug 15
2
Apache & FCGI: Premature end of script headers:
Hi, I have quite a problem right now. After finish of development I installed rails with fcgi and apache on my production env. Everything seems to be configured ok, but once I while I get the famous error message: " Premature end of script headers: dispatch.fcgi" I cant see any generel configuration problem, as sometimes everything is running fine. Maybe it is a problem related to
2006 Jun 22
9
Again on Apache 2
Hello everybody. I know, I know, another post about Apache 2, but I have looked a lot on the internet and I haven''t found the answer to my problem. I have a Linux Fedora Core 5 box, with Apache 2.2.2 (compiled and installed), Ruby 1.8.4 (compiled and installed), RubyGems 0.8.11 (compiled and installed) and Rails... I don''t know what version as this one I haven installed
2008 Jul 23
3
Premature end of script headers: dispatch.fcgi
Hey people, I''m working on this issue for more than 4 hours now and I have no idea what''s wrong so I ask you kindly to have a look at my stuff. When I try to access my website I get this error: Application error Rails application failed to start properly error.log says: [Wed Jul 23 17:51:22 2008] [error] Premature end of script headers: dispatch.fcgi I tried to run
2006 May 17
3
Rails "Application Error" with apache and mod_fcgid
Hello, I have a gentoo system that I am trying to remotely develop rails applications on using apache and fcgi. I created the simple hello world example from Dave Thomas'' book to test the system and I receive an "application error" when I try to go to the page. I can startup webrick and use links to view the page just fine, but nothing doing through apache. I have
2006 Jun 29
0
can''t run rails application
Hello, I''m trying to run Rails on Apache 2.0 with mod_fcgid. It seems like fcgi has been set up ok, but still I can''t run my rails application. Here is my httpd.conf IPCCommTimeout 40 IPCConnectTimeout 10 DefaultInitEnv RAILS_ENV production SocketPath /tmp/fcgidsock <VirtualHost *:80> <Location /> RewriteEngine On
2006 Jul 03
5
I can''t see my app
Hello everybody, I was able to set up Ruby 1.8.4 on Rails, using Apache 2.2.2 and MySql 5.0.22 and if you go to http://spagnolo.troccoli.it you have the nice "Welcome abroad" page. I have created a table (modes) with mysql CREATE TABLE `modes` ( `id` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, `description` VARCHAR(45) NOT NULL DEFAULT '''', PRIMARY KEY(`id`) )
2006 Aug 01
2
apache and fcgid
So I decided to just go with apache2 and fcgid. I looked into Mongrel and apache and I looked into lighttpd and fastcgi and found both to be too time consuming and not well enough documented for what I''m doing. My question is, how do I set up apache and fcgid to actually work? I got apache installed. I think I got fcgid installed (I read somewhere all I have to do is move the
2007 May 29
4
undefined method `define_a_column' for class `OCI8::Cursor'
Hi, Environment: Solaris 10, Orale 10g, Apache 2.2, Ruby 1.8.4, Rails 1.2.3, Ruby OCI8 1.0.0-rc2 As soon as I compiled and installed the Ruby/OCI8 interface, I got the following error from my application: ========================= [notice] mod_fcgid: call /export/home/invido/invido/portal2/public/ dispatch.fcgi with wrapper /usr/local/bin/ruby /export/home/invido/
2006 Mar 12
4
Apache not running Fcgid
I''m having the same problems as this fellow, Mr. Cheetham, in getting my rails app up and running on apache2+fcgid. Webrick runs, but dispatch.fcgi never actually runs, and apache spits out a grusome "Premature end of script headers: dispatch.cgi" error message in the log. Mr. Cheetham describes his problem at http://www.archivesat.com/Typo_blogging_engine/thread164398.htm I
2006 Feb 19
8
uninitialized constant RailsFCGIHandler
Hello, I''m trying to switch to FastCGI. With CGI everything works, but after have done all the steps of the wiki here (http://wiki.rubyonrails.org/rails/pages/RailsOnUbuntuDebianTestingAndUnstable) My application started to give me "Error 500" Looking at the Apache logs I can see : [notice] mod_fcgid: server /rails/public/dispatch.fcgi(6127) started
2006 Apr 09
18
I can''t get mod_fcgid to work
Hi, I just installed mod_fcgid on my apache2 server. When I try to load my application I get an "Application error - Rails application failed ..." message. In my Apache2 error-log it says: Premature end of script headers dispatch.fcgi mod_fcgid process /data/www/app/dispacth.fcgi exit (communication error), terminated by calling exit(), return code 1 Any help with this would be
2006 Jun 15
12
RoR on Apache2
Hello, I''ve been going though the "4 Days on Rails" tutorial at http://rails.homelinux.org/ test-driving ruby on rails using the WEBrick server without problems. I''m trying to move the app to be seen by apache2, and am having some troubles. I''ve looked through many guides online which all say pretty much the same thing, which, I think, I am doing.
2006 May 07
0
apache/lighttpd or apache with fcgid
I am trying to determine (from people''s experience here) if there is a benefit to proxying apache -> lighttpd -> rails instead of just using apache mod_fcgid -> rails. I am having some concerns of the stability of the fcgid apache modules as well as the incredibly painful first connect issue with apache mod_fcgid. Is the lighttpd fcgi more stable and mature than apache ? Is
2006 Jul 31
4
switching database dynamically based on incoming request
So I have this idea to reduce code replication in our rails setup. Currently we have our rails app serving two distinct sites, soon to be three. At the moment we check out a separate set of code for each site, and configure it by adjusting the database setting and some config files that pull in separate style sheets. To remove this replication I''d like to have a single codebase, but
2006 Jul 28
4
[mod_fcgid] 503 server temporarily unavailable
Hi There, Every now and then, and recently more and more we get a "503 server temporarily unavailable" error from our rails app. We are running Rails 1.0 with mod_fcgid in Apache 2.0.54 on Debian The thing is I don''t think we have such a heavy load on the server, and I haven''t seen this error occur at all outside the rails app. In fact I don''t think I ever
2006 Aug 13
1
Rewrite problem?
I''m not able to access anything in public, everything seems to be going through the rails router. As a result, I can''t get to stylesheets or javascript. I''m not quite clear if this is a .htaccess problem, or a router problem. I eliminated the "catchall" route, so the last route is map.connect '':controller/:action/:id'' My .htaccess file
2006 Mar 23
1
mod_fcgid
Hello, I''m using rails on apache2 with mod_fcgid and I can''t seem to set the RAILS_ENV properly. I have dev & production vhosts and would like to set the environment from within apache rather than globally via fcgid.conf, and I thought this might work from within the relevant vhost: DefaultInitEnv RAILS_ENV production but it seems to do nothing... Does anyone know the
2005 Dec 28
1
Can''t quite get fcgid working
I''m having trouble with running my app under fcgid. I am getting errors in my Apache log. It seems that it is choking on the gems replacement for require. The relevant lines from /var/log/apache2/error.log: /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'': no such file to load -- initializer (LoadError) from