# Reverse\_proxy\_fix and Flex URLs

**URL:** <https://www.ruby-forum.com/t/reverse-proxy-fix-and-flex-urls/127334>\
**Category:** Rails\
**Created:** [January 28, 2008, 12:47pm UTC](https://www.ruby-forum.com/t/reverse-proxy-fix-and-flex-urls/127334 "2008-01-28T12:47:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gers32](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ed8c4c/32.png) [@gers32](https://www.ruby-forum.com/u/gers32)\
**Post date:** [January 28, 2008, 12:47pm UTC](https://www.ruby-forum.com/t/reverse-proxy-fix-and-flex-urls/127334/1 "2008-01-28T12:47:30Z")

</div>

Hi,

I’ve set up several “Production type” environments using the very  
promising beta book “Deploying Rails Applications”: Mongrel (x2) +  
Apache in Win XP and Mongrel (x2) + Apache + IIS in Win 2K3.

Unfortunately, the proxy plugin used (reverse\_proxy\_fix) to enable  
forwarding requests from IIS to Apache won’t work with my URLs in a  
Flex interface… Has anyone been able to solve this problem? No one  
ever answers on the “Pragmatic Programmers” forum…

Interestingly (I know nothing about how Reverse Proxying works…), when  
I access the URL for a Rails function directly from the browser,  
instead of Flex code, it works correctly, as in:

[http://localhost/mytest/my\_class/my\_function](http://localhost/mytest/my_class/my_function)

where I would have accessed

[http://localhost:8080/my\_class/my\_function](http://localhost:8080/my_class/my_function) with Apache alone…

Cheers,

Chris.
