Forum: Ruby Rails application failed to start properly

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9aa1e92a0ebb17fdaad2fa39b4c52b8a?d=identicon&s=25 misiek (Guest)
on 2006-02-16 23:13
(Received via mailing list)
my settings
OS: gentoo
net-www/apache-2.0.54-r31
net-www/mod_fastcgi-2.4.2-r1


NameVirtualHost 111.111.11.111:80
<VirtualHost www.domain.com:80>
         ServerAdmin webmaster@localhost
         Servername www.domain.com
         ServerAlias domain.com
         ErrorLog /home/ftp/workspace/domain.com/log/apache.log

         DocumentRoot /home/ftp/workspace/domain.com/public
         <Directory "/home/ftp/workspace/domain.com/public/">
           Options ExecCGI FollowSymLinks
           AddHandler cgi-script .cgi
           AllowOverride all
           Allow from all
         </Directory>
</VirtualHost>


..httaccess
RewriteRule ^(.*)$ dispatch.fcgi?$1 [QSA,L]

/etc/conf/apache2
APACHE2_OPTS="-D DEFAULT_VHOST -D FASTCGI -D SSL -D PHP4"


on localhost works good when I copy on server with real domain does not
work the message like in subject.

in apache.log i got
[Thu Feb 16 16:11:51 2006] [error] [client 192.168.10.101] mod_rewrite:
maximum number of internal redirects reached. Assuming configuration
error. Use 'RewriteOptions MaxRedirects' to increase the limit if
neccessary.

but what it does mean ?

what is wrong ?
9aa1e92a0ebb17fdaad2fa39b4c52b8a?d=identicon&s=25 misiek (Guest)
on 2006-02-16 23:19
(Received via mailing list)
> in apache.log i got
> [Thu Feb 16 16:11:51 2006] [error] [client 192.168.10.101] mod_rewrite:
> maximum number of internal redirects reached. Assuming configuration
> error. Use 'RewriteOptions MaxRedirects' to increase the limit if
> neccessary.
>
> but what it does mean ?
>
> what is wrong ?

ok I del $1 option from .htaccess
RewriteRule ^(.*)$ dispatch.fcgi?$1 [QSA,L]
				 ^

no when I start the web site I got with my browser that message


#!/usr/bin/ruby18
#
# You may specify the path to the FastCGI crash log (a log of unhandled
# exceptions which forced the FastCGI instance to exit, great for
debugging)
# and the number of requests to process before running garbage
collection.
#
# By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log
# and the GC period is nil (turned off).  A reasonable number of
requests
# could range from 10-100 depending on the memory footprint of your app.
#
# Example:
#   # Default log path, normal GC behavior.
#   RailsFCGIHandler.process!
#
#   # Default log path, 50 requests between GC.
#   RailsFCGIHandler.process! nil, 50
#
#   # Custom log path, normal GC behavior.
#   RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log'
#
require File.dirname(__FILE__) + "/../config/environment"
require 'fcgi_handler'

RailsFCGIHandler.process!
31ab75f7ddda241830659630746cdd3a?d=identicon&s=25 Austin Ziegler (Guest)
on 2006-02-16 23:38
(Received via mailing list)
On 2/16/06, misiek <michaelaugustyniak@gazeta.pl> wrote:

You will probably get a faster and better response from:

  http://lists.rubyonrails.org/mailman/listinfo/rails

-austin
9aa1e92a0ebb17fdaad2fa39b4c52b8a?d=identicon&s=25 misiek (Guest)
on 2006-02-17 00:51
(Received via mailing list)
Austin Ziegler wrote:
> On 2/16/06, misiek <michaelaugustyniak@gazeta.pl> wrote:
>
> You will probably get a faster and better response from:
>
>   http://lists.rubyonrails.org/mailman/listinfo/rails
>
> -austin
> --
> Austin Ziegler * halostatue@gmail.com
>                * Alternate: austin@halostatue.ca

yeah never mind it works
thanks
This topic is locked and can not be replied to.