# RE: Re: I Would Really Like to Try RoR but

**URL:** <https://www.ruby-forum.com/t/re-re-i-would-really-like-to-try-ror-but/73526>\
**Category:** Rails\
**Created:** [December 20, 2005, 5:49pm UTC](https://www.ruby-forum.com/t/re-re-i-would-really-like-to-try-ror-but/73526 "2005-12-20T17:49:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![HoganS\_Brian\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/9de0a6/32.png) [@HoganS\_Brian\_P](https://www.ruby-forum.com/u/HoganS_Brian_P)\
**Post date:** [December 20, 2005, 5:49pm UTC](https://www.ruby-forum.com/t/re-re-i-would-really-like-to-try-ror-but/73526/1 "2005-12-20T17:49:20Z")

</div>

Would love to…but our current setup doesn’t support it (that I know  
of). If you’ve got a solution on how to integrate Apache behind an IIS  
web server, I would be very interested to hear it.

To reiterate from an earlier post, here’s what I’ve got:

We’ve got hundreds of sites served from our web server which runs IIS.  
Each department is a subfolder of our main site

www.uwec.edu/biology

We currently integrate web applications into their sites using ASP, and  
now PHP. Let’s say the Biology department wanted to collect lab data  
from their students. They might have an application hosted at

www.uwec.edu/biology/labdata

This allows us to more easily share images, styles, etc plus they feel  
as though they “own” the application. We’ve had things on different  
servers and it’s not well received by departments.

So, if I wanted to write the labdata application in Rails, I would need  
a way to integrate that with their site. How do I do that if I can’t get  
IIS to serve it out? I would be willing to run this on Apache, but how  
would I get IIS to reverse-proxy to it (and also ensure that everything  
works? In order to retain the url structure, a reverse proxy would also  
need to transform the responses from the Apache server so that the  
correct URLs could be requested again.

(I realize that my situation may be different from others but would  
welcome any suggestionts.)

---

<div class="post-metadata">

**Author:** ![HoganS\_Brian\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/9de0a6/32.png) [@HoganS\_Brian\_P](https://www.ruby-forum.com/u/HoganS_Brian_P)\
**Post date:** [December 20, 2005, 6:01pm UTC](https://www.ruby-forum.com/t/re-re-i-would-really-like-to-try-ror-but/73526/2 "2005-12-20T18:01:23Z")

</div>

Ugh, that sounds like a political nightmare. Why would a department care  
what server their app is on? anyway I guess that is beside the point. I  
would assume if you told them you could get their applicaiton built in  
1/2  
the time if they had an “ugly” url that they wouldn’t care. You could  
also  
build in admin features for a person to edit their look and feel instead  
of  
worrying about linking to “local” images.

Sorry, don’t know how you would go about doing this.

On 12/20/05, Hogan, Brian P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> www.uwec.edu/biology
> 
> > several variations)
> > 
> > To: removed\_email\_address@domain.invalid  
> > be done, but it’s not pretty. We had to use C++ and the registry editor  
> > everything Just Works now.  
> > D
> > 
> > > > [http://dema.ruby.com.br/articles/2005/08/23/taming-fastcgi-apache2-o](http://dema.ruby.com.br/articles/2005/08/23/taming-fastcgi-apache2-o)  
> > > > still not entirely sure what I did to make it work. I decided to do  
> > > > [Peak Obsession](http://wiki.rubyonrails.com/rails/pages/Fast+CGI+and+Apache2+for+Windo)  
> > > > case they are receiving similar errors just let me know.  
> > > > [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)
> > 
> > * * *
> 
> [http://www.zerium.com](http://www.zerium.com)  
> [phone] 404-488-4364
> 
> * * *
> 
> Rails mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

–  
Steven R.  
web application & interface developer  
[http://www.zerium.com](http://www.zerium.com)  
[phone] 404-488-4364

---

<div class="post-metadata">

**Author:** ![HoganS\_Brian\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/9de0a6/32.png) [@HoganS\_Brian\_P](https://www.ruby-forum.com/u/HoganS_Brian_P)\
**Post date:** [December 20, 2005, 6:16pm UTC](https://www.ruby-forum.com/t/re-re-i-would-really-like-to-try-ror-but/73526/3 "2005-12-20T18:16:27Z")

</div>

On 12/20/05, Hogan, Brian P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Would love to…but our current setup doesn’t support it (that I know of).  
> If you’ve got a solution on how to integrate Apache behind an IIS web  
> server, I would be very interested to hear it.

I run a production Tomcat server behind IIS on Win2003 (used to work  
under Win2000). I imagine if you get the Tomcat/IIS installation  
instructions you can use them to setup a Apache/IIS installation.

## Greg

Greg F.  
The Norcross Group  
Forensics for the 21st Century

---

<div class="post-metadata">

**Author:** ![HoganS\_Brian\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/9de0a6/32.png) [@HoganS\_Brian\_P](https://www.ruby-forum.com/u/HoganS_Brian_P)\
**Post date:** [December 20, 2005, 11:06pm UTC](https://www.ruby-forum.com/t/re-re-i-would-really-like-to-try-ror-but/73526/4 "2005-12-20T23:06:40Z")

</div>

Hi Brian,

I don’t know how to integrate apache behind IIS, but you could try  
putting IIS behind apache. mod\_proxy works well in apache as a forward  
or reverse proxy. I’ve done this with tomcat instead of using mod\_jk.  
You might even use mod\_security in apache to help shield IIS.

On a similar note, I strongly recommend giving each department or  
college their own 2nd-teir dns name and vhost. i.e. biology would be  
www.biology.uwec.edu. That way you can easily move the department sites  
around to different servers when (not if) your main web servers get  
overloaded. In addition, you can put different departments on different  
servers based on wen technology used (asp/php/rails). I would recommend  
against hosting too many web technologies on the same server or cluster.  
with mod\_proxy and apache you can pxoy directory A to serverA and  
directoryB to server B.
