Well, I tried to use apache as explained on the instiki.org site. I put
something like this into a name virtual host container in my apache
2.2./extra/httpd-
vhosts.conf file:
ServerName wiki.mydomain.com
ProxyRequests Off
ProxyPass / http://127.0.0.1:2500/
ProxyPassReverse / http://127.0.0.1:2500/
<Proxy http://127.0.0.1:2500/*>
Order deny,allow
Allow from all
</Proxy>
And it works, sort of. Every time instiki wants to do a redirect, it wants
to redirect to https, and it fails, because a different host is set up using
https. But, when I take the "s" out of http, and reload the page -- all the
pages work.
I have ssl set up for one of my rails projects on this machine, but not for
this one. I have another project set up without ssl on that same machine,
and that project works just fine.
The two working projects -- one ssl, one not -- are both running on
mongrel_rails and apache, which I like. So I decided to set my instiki
project up with the same config.
Trouble is -- I don't understand what the setup for instiki would be doing.
I guess I probably need to set up a Virtual Host container inside my
httpd-vhosts.conf file, with the mongrel config, and the reverse proxy
config. But when I try to do that, I get the same problem as without the
mongrel config -- every request tries to go through https.
Is the problem that this reverse proxy config will simply not work on a
machine that is running ssl for a different domain?
Charlie
On 10/31/07, Selvig, Andy <[EMAIL PROTECTED]> wrote:
>
> I don't know about doing a mongrel cluster, but running instiki on
> mongrel should be exactly the same as running instiki on any rails app.
> Apache shouldn't know the difference (assuming you're using apache for
> reverse proxy or similar).
>
>
> Andy Selvig
>
> ------------------------------
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Charlie Caroff
> *Sent:* Tuesday, October 30, 2007 11:59 PM
> *To:* [email protected]
> *Subject:* [Instiki] mongrel_rails and apache for instiki
>
> Hello,
>
> Does anyone have a tutorial on how to set up a mongrel_rails cluster with
> apache for instiki? I have mongrel rails and apache working for two other
> ROR projects, but the setup for instiki is so far eluding me.
>
>
> Charlie
>
> _______________________________________________
> Instiki-users mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/instiki-users
>
_______________________________________________
Instiki-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/instiki-users