I am trying to do some testing with mod_rails. I think I have everything well configured, but when I try to get to my application I get an internal server error and this message in the error log: [Sun Apr 13 11:23:14 2008] [alert] [client 127.0.1.1] /home/juanma/work/artpub/public/.htaccess: Option ExecCGI not allowed here I am using ubuntu and I have no knowledge of apache. Can somebody help? Thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 13 Apr 2008, at 11:38, Juanma Cervera wrote:> I am trying to do some testing with mod_rails. > I think I have everything well configured, but when I try to get to my > application I get an internal server error and this message in the > error > log: > > [Sun Apr 13 11:23:14 2008] [alert] [client 127.0.1.1] > /home/juanma/work/artpub/public/.htaccess: Option ExecCGI not allowed > here > > I am using ubuntu and I have no knowledge of apache. > Can somebody help?<Directory "/var/www/railsroot" > Options FollowSymLinks AllowOverride All </Directory> Could help. Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ 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 unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Peter De Berdt wrote:> <Directory "/var/www/railsroot" > > Options FollowSymLinks > AllowOverride All > </Directory> > Could help.Thank you Peter, but it doesn''t work form me. I have added the lines to the file in the available-sites directory of apache. This is the file for the virtual host (artpub.com) <VirtualHost artpub.com> ServerName artpub.com DocumentRoot /home/juanma/work/artpub/public <Directory /home/juanma/work/artpub > Options FollowSymLinks AllowOverride All </Directory> </VirtualHost> I have not touched .htaccess But now, I have this message in the error log [Sun Apr 13 12:19:54 2008] [alert] [client 127.0.1.1] /home/juanma/work/artpub/public/.htaccess: Invalid command ''RewriteEngine'', perhaps misspelled or defined by a module not included in the server configuration Thanks Juan M. Cervera -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
http://www.modrails.com/documentation/Users%20guide.html#_configuring_passenger Please check RailsAllowModRewrite directive and also read the section about conflicting modules. On Sun, Apr 13, 2008 at 11:27 AM, Juanma Cervera <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Peter De Berdt wrote: > > <Directory "/var/www/railsroot" > > > Options FollowSymLinks > > AllowOverride All > > </Directory> > > Could help. > > Thank you Peter, but it doesn''t work form me. > I have added the lines to the file in the available-sites directory of > apache. > > This is the file for the virtual host (artpub.com) > > <VirtualHost artpub.com> > ServerName artpub.com > DocumentRoot /home/juanma/work/artpub/public > <Directory /home/juanma/work/artpub > > > Options FollowSymLinks > AllowOverride All > </Directory> > </VirtualHost> > > I have not touched .htaccess > > > But now, I have this message in the error log > > [Sun Apr 13 12:19:54 2008] [alert] [client 127.0.1.1] > /home/juanma/work/artpub/public/.htaccess: Invalid command > ''RewriteEngine'', perhaps misspelled or defined by a module not included > in the server configuration > > Thanks > Juan M. Cervera > > > > > > > -- > Posted via http://www.ruby-forum.com/. > > > >-- Cheers! - Pratik http://m.onkey.org --~--~---------~--~----~------------~-------~--~----~ 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 unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Apr 13, 11:38 am, Juanma Cervera <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> I am trying to do some testing with mod_rails. > I think I have everything well configured, but when I try to get to my > application I get an internal server error and this message in the error > log: > > [Sun Apr 13 11:23:14 2008] [alert] [client 127.0.1.1] > /home/juanma/work/artpub/public/.htaccess: Option ExecCGI not allowed > here > > I am using ubuntu and I have no knowledge of apache. > Can somebody help? > > ThanksDelete your .htaccess. --~--~---------~--~----~------------~-------~--~----~ 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 unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---