Ruby on Rails Monday, November 24, 2014

I got the solution of the problem,

in the .htaccess file I had this rule

RewriteRule ^$ index.html [QSA]

I comment it and now it works like a charm.

Thank you!


Francisco Bereciartu wrote in post #1163221:
> Hi Walter this is mine:
>
> <VirtualHost *:80>
> ServerName my.domain.com
> DocumentRoot /var/www/
> ErrorLog logs/redmine_error_log
>
> <Directory "/var/www/redmine/public/">
> Options -MultiViews Indexes ExecCGI FollowSymLinks
> Order allow,deny
> Allow from all
> AllowOverride all
> </Directory>
> </VirtualHost>
>
> if I set -Indexes, the site does not work at all.
>
>
> Walter Davis wrote in post #1163219:
>> What does the Apache conf file look like for this host? Apache is trying
>> to tack an auto-index on this page, which is messing with the route
>> passed in from Passenger.
>>
>> Here's a snippet from one of mine -- note the -Indexes directive. Does
>> yours have that?
>>
>> <Directory /data/www/example.com/public>
>> Options -Indexes FollowSymLinks -MultiViews
>> AllowOverride All
>> Order allow,deny
>> allow from all
>> </Directory>
>>
>> Walter

--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/a27f77fd28cb2d5b49c1c1f4b30edd39%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment