Assuming passenger and apache:
I think I would have Apache intercept the wiki URLs and handle them
without getting rails involved. That's how I make a wordpress page be
completely integrated with a rails app. For instance:
cd path/to/rails/app/public
ln -s /path/to/wordpress/installation news
and in Apache:
<Directory "/path/to/rails/app/public/news">
PassengerEnabled off
AllowOverride all
</Directory>
You can get fancier to get your wiki themed the same as your Rails
app, but you can also just keep your wiki's theme up to date manually.
On Thu, Sep 15, 2011 at 4:28 PM, Sub Zero <[email protected]> wrote:
> 2Robert Walker
> Thank you! I see )
>
> 2Alexey Petrushin wrote in post #1021704:
>> iframe ? :)
> Ok, if I show wiki in a frame what hapens if I clicked wiki's link?
>
>>AJAX ? (Assuming you adhere to the same origin policy by running the
> Wiki under the same domain).
> oops, didn't get that
>
> How can I build a controller, which passes all params and http method of
> request to wiki and renders wiki's output back to the browser?
>
--
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.