Passenger (mod_rails)

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

On 13 Apr 2008, at 11:38, Juanma C. wrote:

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

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 C.
[email protected] wrote:

apache.

in the server configuration
Posted via http://www.ruby-forum.com/.


Cheers!

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)

ServerName artpub.com DocumentRoot /home/juanma/work/artpub/public Options FollowSymLinks AllowOverride All

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

On Apr 13, 11:38 am, Juanma C. [email protected]
wrote:

Can somebody help?

Thanks

Delete your .htaccess.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs