# URL Problem

**URL:** <https://www.ruby-forum.com/t/url-problem/160560>\
**Category:** Rails\
**Created:** [February 17, 2009, 6:26pm UTC](https://www.ruby-forum.com/t/url-problem/160560 "2009-02-17T18:26:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sean\_McGilvray](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/8c91f0/32.png) [@Sean\_McGilvray](https://www.ruby-forum.com/u/Sean_McGilvray)\
**Post date:** [February 17, 2009, 6:26pm UTC](https://www.ruby-forum.com/t/url-problem/160560/1 "2009-02-17T18:26:16Z")

</div>

Hello everyone,  
I have a fun little problem that I can not figure out. My app is  
adding the public folder to the url path. When I go to  
[http://www.timefreedomnow.net/profile/smcgilvray](http://www.timefreedomnow.net/profile/smcgilvray) the app comes up  
fine. When you submit the form it tries to submit it to  
[http://www.timefreedomnow.net/gcp/step2](http://www.timefreedomnow.net/gcp/step2) instead of  
[http://www.timefreedomnow.net/step2](http://www.timefreedomnow.net/step2).  
This is happening on almost all requests after the initial url  
request. The /gcp folder is the folder under /public\_html that  
is .htaccess redirecting to my /usr/greatcar/gcp directory. Any help  
please?

Thank you,

Sean McGilvray

---

<div class="post-metadata">

**Author:** ![Sean\_McGilvray](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/8c91f0/32.png) [@Sean\_McGilvray](https://www.ruby-forum.com/u/Sean_McGilvray)\
**Post date:** [February 17, 2009, 8:01pm UTC](https://www.ruby-forum.com/t/url-problem/160560/2 "2009-02-17T20:01:34Z")

</div>

I figured it out. It does this when I switch back to rails 2.1.2.  
When I set it to 2.2.2 it does not do this. Does anyone know how to  
fix this within 2.1.2 because I am using ar\_mailer to queue mail and  
ar\_mailer will not work with 2.2.2.

Thank you,

Sean McGilvray
