"We're sorry, but something went wrong. We've been notified about this
issue."
It is a rails error, and maybe you are in production mode,
My apache conf:
NameVirtualHost site.com:80
<VirtualHost www.site.com:80>
    ServerName www.site.com
    RailsEnv development
    RailsAllowModRewrite off
    DocumentRoot /var/www/site/public
</VirtualHost>

and its running fine in development.
Check /log dir, and look for development.log file,.

On Jun 6, 7:24 pm, Mk 27 <[email protected]> wrote:
> Rahmat Budiharso wrote:
> > I use passenger to, and it works like a charm.
> > this is what i got in my /etc/apache2/sites-available/rails
>
> > <VirtualHost *:80>
> >    ServerName rpdam.local
> >    DocumentRoot /home/rahmat/Rails-Projects/pdam/public
> >    RailsEnv development
> > </VirtualHost>
>
> I had it like this:
>
> <VirtualHost *:80>
>     ServerName dev.docsearch.net
>     DocumentRoot "/var/www/html/docsearch/public/"
> </VirtualHost>
>
> <Directory /var/www/html/docsearch>
>    RailsEnv development
> </Directory>
>
> Which I copied that from the Phusion webpage documentation.  Anyway,
> moving "RailsEnv ..." into the VirtualHost block worked.  I guess that
> documentation kicked my ass!
>
> Thanks Rahmat.
> --
> Posted viahttp://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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to