Erwin: We found it''s not worth the time to do this. It won''t work reliably. You''re in for a world of hurt. We''ve given up on the idea after several months of trying (and some great feedback from this list). There are some on this list who claim to have gotten it to work, but that might just be luck. We''re now using Apache on a higher port, and using ISAPIRewrite to proxy requests to it. It works great. I will be writing an article on how to do this and will announce it here. -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Erwin Quita Sent: Friday, February 10, 2006 3:03 AM To: rails@lists.rubyonrails.org Subject: [Rails] Anyone have Ruby for IIS installer? I''m setting up ror on windows and will be using iis... does anyone have the "ruby for iis" installer? the http://rubyforiis.sosukodo.org/ site is down... if anyone has the installer please email me. any help would be appreciated. best regards, Erwin Quita _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails
Brian, Can you describe, in detail, the steps you took with IIS/ISAPIRewrite to proxy requests? I''ve had mixed results, getting it successfully going on one machine but not on 3 other machines with different Windows OS versions. Ive tried 3 different ISAPI rewrite filters as well. Right now I have a blank IIS index page that just redirects over to apache (running on port 8080). Any help woiuld be great, Jin On 2/13/06, Hogan, Brian P. <HOGANBP@uwec.edu> wrote:> > Erwin: > > We found it''s not worth the time to do this. It won''t work reliably. > You''re in for a world of hurt. We''ve given up on the idea after several > months of trying (and some great feedback from this list). There are > some on this list who claim to have gotten it to work, but that might > just be luck. > > We''re now using Apache on a higher port, and using ISAPIRewrite to proxy > requests to it. It works great. I will be writing an article on how to > do this and will announce it here. > > > > -----Original Message----- > From: rails-bounces@lists.rubyonrails.org > [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Erwin Quita > Sent: Friday, February 10, 2006 3:03 AM > To: rails@lists.rubyonrails.org > Subject: [Rails] Anyone have Ruby for IIS installer? > > > I''m setting up ror on windows and will be using iis... > > does anyone have the "ruby for iis" installer? > > the http://rubyforiis.sosukodo.org/ site is down... > > if anyone has the installer please email me. > > any help would be appreciated. > > best regards, > > Erwin Quita > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060213/4089d3af/attachment.html
Yes. I can... very soon. I''m about 90% done with the tutorial. here''s the basic concept: IIS (80) Apache (8080) ================= =======================/ /blog /blog /wiki /wiki /code /code /about Each rails app is configured as an Alias all on one VHOST Apache conf : Alias /code "e:/rails/blog/public" FastCgiServer e:/rails/blog/public/dispatch.fcgi -idle-timeout 120 -initial-env RAILS_ENV=production -processes 1 <Directory e:/rails/blog/public> Options ExecCGI FollowSymlinks AllowOverride All </Directory> ISAPI rewrite rule: (one for each rails app) RewriteProxy /blog(.*) http\://internal.server.com:8080/blog$1 [I,U] You need to do this for each app. You also need to modify RewriteBase in your Rails .htaccess file. Calls to "url_for" can sometimes reveal the backend server. My way around that has been to make sure that Apache runs on the SAME BOX as IIS. I then wrote a simple plugin which I will be sharing that you can place in your production app to remove the :8080 proxy when url_for is used. (requests then route back through IIS). That''s the summary. I''ll be publishing the full howto later today or tomorrow. -Brian -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Jin Lee Sent: Monday, February 13, 2006 10:38 AM To: rails@lists.rubyonrails.org Subject: Re: [Rails] Anyone have Ruby for IIS installer? Brian, Can you describe, in detail, the steps you took with IIS/ISAPIRewrite to proxy requests? I''ve had mixed results, getting it successfully going on one machine but not on 3 other machines with different Windows OS versions. Ive tried 3 different ISAPI rewrite filters as well. Right now I have a blank IIS index page that just redirects over to apache (running on port 8080). Any help woiuld be great, Jin On 2/13/06, Hogan, Brian P. <HOGANBP@uwec.edu> wrote: Erwin: We found it''s not worth the time to do this. It won''t work reliably. You''re in for a world of hurt. We''ve given up on the idea after several months of trying (and some great feedback from this list). There are some on this list who claim to have gotten it to work, but that might just be luck. We''re now using Apache on a higher port, and using ISAPIRewrite to proxy requests to it. It works great. I will be writing an article on how to do this and will announce it here. -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto: rails-bounces@lists.rubyonrails.org] On Behalf Of Erwin Quita Sent: Friday, February 10, 2006 3:03 AM To: rails@lists.rubyonrails.org Subject: [Rails] Anyone have Ruby for IIS installer? I''m setting up ror on windows and will be using iis... does anyone have the "ruby for iis" installer? the http://rubyforiis.sosukodo.org/ site is down... if anyone has the installer please email me. any help would be appreciated. best regards, Erwin Quita _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails
/thumbsup That RewriteProxy line was what I needed to most. Which ISAPIRewrite are you using? Thanks for the tip, looking forward to the full tutorial, Jin On 2/13/06, Hogan, Brian P. <HOGANBP@uwec.edu> wrote:> > Yes. I can... very soon. I''m about 90% done with the tutorial. > > here''s the basic concept: > > IIS (80) Apache (8080) > ================= =======================> / > /blog /blog > /wiki /wiki > /code /code > /about > > Each rails app is configured as an Alias all on one VHOST > > Apache conf : > > Alias /code "e:/rails/blog/public" > FastCgiServer e:/rails/blog/public/dispatch.fcgi -idle-timeout 120 > -initial-env RAILS_ENV=production -processes 1 > <Directory e:/rails/blog/public> > Options ExecCGI FollowSymlinks > AllowOverride All > </Directory> > > > ISAPI rewrite rule: (one for each rails app) > > RewriteProxy /blog(.*) http\://internal.server.com:8080/blog$1 [I,U] > > You need to do this for each app. > > You also need to modify RewriteBase in your Rails .htaccess file. > > > Calls to "url_for" can sometimes reveal the backend server. My way > around that has been to make sure that Apache runs on the SAME BOX as > IIS. I then wrote a simple plugin which I will be sharing that you can > place in your production app to remove the :8080 proxy when url_for is > used. (requests then route back through IIS). > > That''s the summary. I''ll be publishing the full howto later today or > tomorrow. > > -Brian > > > -----Original Message----- > From: rails-bounces@lists.rubyonrails.org > [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Jin Lee > Sent: Monday, February 13, 2006 10:38 AM > To: rails@lists.rubyonrails.org > Subject: Re: [Rails] Anyone have Ruby for IIS installer? > > > Brian, > > Can you describe, in detail, the steps you took with IIS/ISAPIRewrite to > proxy requests? I''ve had mixed results, getting it successfully going on > one machine but not on 3 other machines with different Windows OS > versions. Ive tried 3 different ISAPI rewrite filters as well. > > Right now I have a blank IIS index page that just redirects over to > apache (running on port 8080). > > Any help woiuld be great, > > Jin > > > On 2/13/06, Hogan, Brian P. <HOGANBP@uwec.edu> wrote: > Erwin: > > We found it''s not worth the time to do this. It won''t work reliably. > You''re in for a world of hurt. We''ve given up on the idea after several > months of trying (and some great feedback from this list). There are > some on this list who claim to have gotten it to work, but that might > just be luck. > > We''re now using Apache on a higher port, and using ISAPIRewrite to proxy > requests to it. It works great. I will be writing an article on how to > do this and will announce it here. > > > > -----Original Message----- > From: rails-bounces@lists.rubyonrails.org > [mailto: rails-bounces@lists.rubyonrails.org] On Behalf Of Erwin Quita > Sent: Friday, February 10, 2006 3:03 AM > To: rails@lists.rubyonrails.org > Subject: [Rails] Anyone have Ruby for IIS installer? > > > I''m setting up ror on windows and will be using iis... > > does anyone have the "ruby for iis" installer? > > the http://rubyforiis.sosukodo.org/ site is down... > > if anyone has the installer please email me. > > any help would be appreciated. > > best regards, > > Erwin Quita > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060213/c2cc3cbd/attachment.html
I''m using the full... the one you have to pay for (or use the 30 day trial) because it supports proxy. The free one doesn''t. -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Jin Lee Sent: Monday, February 13, 2006 11:38 AM To: rails@lists.rubyonrails.org Subject: Re: [Rails] Anyone have Ruby for IIS installer? /thumbsup That RewriteProxy line was what I needed to most. Which ISAPIRewrite are you using? Thanks for the tip, looking forward to the full tutorial, Jin On 2/13/06, Hogan, Brian P. <HOGANBP@uwec.edu> wrote: Yes. I can... very soon. I''m about 90% done with the tutorial. here''s the basic concept: IIS (80) Apache (8080) ================= ======================= / /blog /blog /wiki /wiki /code /code /about Each rails app is configured as an Alias all on one VHOST Apache conf : Alias /code "e:/rails/blog/public" FastCgiServer e:/rails/blog/public/dispatch.fcgi -idle-timeout 120 -initial-env RAILS_ENV=production -processes 1 <Directory e:/rails/blog/public> Options ExecCGI FollowSymlinks AllowOverride All </Directory> ISAPI rewrite rule: (one for each rails app) RewriteProxy /blog(.*) http\://internal.server.com:8080/blog$1 [I,U] You need to do this for each app. You also need to modify RewriteBase in your Rails .htaccess file. Calls to "url_for" can sometimes reveal the backend server. My way around that has been to make sure that Apache runs on the SAME BOX as IIS. I then wrote a simple plugin which I will be sharing that you can place in your production app to remove the :8080 proxy when url_for is used. (requests then route back through IIS). That''s the summary. I''ll be publishing the full howto later today or tomorrow. -Brian -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Jin Lee Sent: Monday, February 13, 2006 10:38 AM To: rails@lists.rubyonrails.org Subject: Re: [Rails] Anyone have Ruby for IIS installer? Brian, Can you describe, in detail, the steps you took with IIS/ISAPIRewrite to proxy requests? I''ve had mixed results, getting it successfully going on one machine but not on 3 other machines with different Windows OS versions. Ive tried 3 different ISAPI rewrite filters as well. Right now I have a blank IIS index page that just redirects over to apache (running on port 8080). Any help woiuld be great, Jin On 2/13/06, Hogan, Brian P. <HOGANBP@uwec.edu> wrote: Erwin: We found it''s not worth the time to do this. It won''t work reliably. You''re in for a world of hurt. We''ve given up on the idea after several months of trying (and some great feedback from this list). There are some on this list who claim to have gotten it to work, but that might just be luck. We''re now using Apache on a higher port, and using ISAPIRewrite to proxy requests to it. It works great. I will be writing an article on how to do this and will announce it here. -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto: rails-bounces@lists.rubyonrails.org ] On Behalf Of Erwin Quita Sent: Friday, February 10, 2006 3:03 AM To: rails@lists.rubyonrails.org Subject: [Rails] Anyone have Ruby for IIS installer? I''m setting up ror on windows and will be using iis... does anyone have the "ruby for iis" installer? the http://rubyforiis.sosukodo.org/ site is down... if anyone has the installer please email me. any help would be appreciated. best regards, Erwin Quita _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060213/b898e8ac/attachment-0001.html
IIS (80) Apache (8080) ================= =======================/ /blog /blog /wiki /wiki /code /code /about ...> That''s the summary. I''ll be publishing the full howto later today or > tomorrow.This is exactly what i need! Where can I find the howto? (sorry if this comes out twice) -- Posted via http://www.ruby-forum.com/.
Hogan, Brian P. wrote:> Yes. I can... very soon. I''m about 90% done with the tutorial. > > here''s the basic concept: > > IIS (80) Apache (8080) > ================= =======================> / > /blog /blog > /wiki /wiki > /code /code > /about > > Each rails app is configured as an Alias all on one VHOST > > Apache conf : > > Alias /code "e:/rails/blog/public" > FastCgiServer e:/rails/blog/public/dispatch.fcgi -idle-timeout 120 > -initial-env RAILS_ENV=production -processes 1 > <Directory e:/rails/blog/public> > Options ExecCGI FollowSymlinks > AllowOverride All > </Directory> > > > ISAPI rewrite rule: (one for each rails app) > > RewriteProxy /blog(.*) http\://internal.server.com:8080/blog$1 [I,U] > > You need to do this for each app. > > You also need to modify RewriteBase in your Rails .htaccess file. > > > Calls to "url_for" can sometimes reveal the backend server. My way > around that has been to make sure that Apache runs on the SAME BOX as > IIS. I then wrote a simple plugin which I will be sharing that you can > place in your production app to remove the :8080 proxy when url_for is > used. (requests then route back through IIS). > > That''s the summary. I''ll be publishing the full howto later today or > tomorrow. > > -BrianHi Brian, Good day, Have you published your Apache IIS howto? where can we find it? If you happen to have even the simple text info. please can you send it to me. I really need it badly. I''ve been struggling to make it work. Any help would be appreciated. regards, Erwin -- Posted via http://www.ruby-forum.com/.
erwin quita wrote:> Hogan, Brian P. wrote: > >> Yes. I can... very soon. I''m about 90% done with the tutorial. >> >> here''s the basic concept: >> >> IIS (80) Apache (8080) >> ================= =======================>> / >> /blog /blog >> /wiki /wiki >> /code /code >> /about >> >> Each rails app is configured as an Alias all on one VHOST >> >> Apache conf : >> >> Alias /code "e:/rails/blog/public" >> FastCgiServer e:/rails/blog/public/dispatch.fcgi -idle-timeout 120 >> -initial-env RAILS_ENV=production -processes 1 >> <Directory e:/rails/blog/public> >> Options ExecCGI FollowSymlinks >> AllowOverride All >> </Directory> >> >> >> ISAPI rewrite rule: (one for each rails app) >> >> RewriteProxy /blog(.*) http\://internal.server.com:8080/blog$1 [I,U] >> >> You need to do this for each app. >> >> You also need to modify RewriteBase in your Rails .htaccess file. >> >> >> Calls to "url_for" can sometimes reveal the backend server. My way >> around that has been to make sure that Apache runs on the SAME BOX as >> IIS. I then wrote a simple plugin which I will be sharing that you can >> place in your production app to remove the :8080 proxy when url_for is >> used. (requests then route back through IIS). >> >> That''s the summary. I''ll be publishing the full howto later today or >> tomorrow. >> >> -Brian >> > > Hi Brian, > > Good day, Have you published your Apache IIS howto? where can we > find it? If you happen to have even the simple text info. please can you > send it to me. I really need it badly. I''ve been struggling to make it > work. Any help would be appreciated. > > regards, > Erwin > >Oh, I forgot this is my working environment... let me know if it would affect the setup... Ruby version 1.8.4 (i386-mswin32) RubyGems version 0.8.11 Rails version 1.0.0 Active Record version 1.13.2 Action Pack version 1.11.2 Action Web Service version 1.0.0 Action Mailer version 1.1.5 Active Support version 1.2.5 Application root D:/mailer Environment production Database adapter postgresql
Still working on it unfortunately. The setup I have, while it works, does not perform well. I get about 1/4th the performance that I get on Linux with Lighttpd. In order to achieve the appropriate performance, I have to use more dispatchers (4 on Windows compared to 1 on Linux). Might work for you but not for us. I''ll probably finish it up today and publish it to the list in case anyone else finds it useful. (The delay in publishing this is mainly due to the fact that I''ve been running performance tests because I really thought it would perform better!) -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Erwin Quita Sent: Thursday, March 02, 2006 10:05 PM To: rails@lists.rubyonrails.org Subject: Re: [Rails] Re: RE: Anyone have Ruby for IIS installer? erwin quita wrote:> Hogan, Brian P. wrote: > >> Yes. I can... very soon. I''m about 90% done with the tutorial. >> >> here''s the basic concept: >> >> IIS (80) Apache (8080) >> ================= =======================>> / >> /blog /blog >> /wiki /wiki >> /code /code >> /about >> >> Each rails app is configured as an Alias all on one VHOST >> >> Apache conf : >> >> Alias /code "e:/rails/blog/public" >> FastCgiServer e:/rails/blog/public/dispatch.fcgi -idle-timeout 120 >> -initial-env RAILS_ENV=production -processes 1 <Directory >> e:/rails/blog/public> >> Options ExecCGI FollowSymlinks >> AllowOverride All >> </Directory> >> >> >> ISAPI rewrite rule: (one for each rails app) >> >> RewriteProxy /blog(.*) http\://internal.server.com:8080/blog$1 [I,U] >> >> You need to do this for each app. >> >> You also need to modify RewriteBase in your Rails .htaccess file. >> >> >> Calls to "url_for" can sometimes reveal the backend server. My way >> around that has been to make sure that Apache runs on the SAME BOX as>> IIS. I then wrote a simple plugin which I will be sharing that you >> can place in your production app to remove the :8080 proxy when >> url_for is used. (requests then route back through IIS). >> >> That''s the summary. I''ll be publishing the full howto later today or >> tomorrow. >> >> -Brian >> > > Hi Brian, > > Good day, Have you published your Apache IIS howto? where can we > find it? If you happen to have even the simple text info. please canyou> send it to me. I really need it badly. I''ve been struggling to makeit> work. Any help would be appreciated. > > regards, > Erwin > >Oh, I forgot this is my working environment... let me know if it would affect the setup... Ruby version 1.8.4 (i386-mswin32) RubyGems version 0.8.11 Rails version 1.0.0 Active Record version 1.13.2 Action Pack version 1.11.2 Action Web Service version 1.0.0 Action Mailer version 1.1.5 Active Support version 1.2.5 Application root D:/mailer Environment production Database adapter postgresql _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails