search for: reverse_proxy_fix

Displaying 8 results from an estimated 8 matches for "reverse_proxy_fix".

2006 May 10
0
ANN: Reverse_Proxy_fix
...ript will ask you for a base url. Enter it without the trailing slash ( http://myserver.mydomain.com/myapp) If you need to change it later, you can run the install.rb script in the plugin folder or just directly modify lib/config.rb. ruby script/server plugin install http://svn.napcsweb.com/public/reverse_proxy_fix This seems to work very well for our applications... we''ve been using it for a month now on three separate applications. I would appreciate comments or feedback on this. I doubt it will be that useful to most people but it''s nice when you need it. -------------- next part ------...
2006 Jul 07
6
mongrel/win32/apache2 link modification question.
I have apache2 - mongrel 0.3.13.3-mswin32 running, on a server 2000 pc, by folowing the ''Serving Multiple Rails Applications on Windows with Apache and Mongrel'' ( http://tinyurl.com/z9ftz ) the question I have is why is why is http://localhost/myapp/ addded to the front of all my links and how can I stop it? origanal link using webrick /employees/edit/1214 now
2006 Dec 15
1
Help w/ Apache Proxying Mongrel
...or Rails apps that do not use the public/index.html file as the main page. For any apps that do use public/index.html as the main page, none of the links off of index.html work. So no stylesheet info, no images, and no links to other parts of the application. Even though I''ve installed the reverse_proxy_fix plugin. The tutorial from here (http://www.napcsweb.com/howto/rails/deployment/RailsWithApacheAndMong... <http://www.napcsweb.com/howto/rails/deployment/RailsWithApacheAndMongrel.pd f> ) didn''t cover this type of error, and I''ve been stuck fiddling with it for a while. H...
2006 Dec 14
0
Apache2, Mongrel & multiple apps
...works well for apps that do not use the public/index.html file as the main page. For any apps that do use public/inedx.html as the main page, none of the links off of index.html work. So no stylesheet info, no images, and no links to other parts of the application. This despite having installed the reverse_proxy_fix plugin. The tutorial from here (http://www.napcsweb.com/howto/rails/deployment/RailsWithApacheAndMongrel.pdf) didn''t cover this type of error, and I''ve been stuck fiddling with it for a while. Has anyone else had this problem and resolved it? Any help is much appreciated. My ht...
2006 Jun 22
2
[PLUGIN] url_for_with_prefix - allowing you to modify/remove prefixes easily
Here''s the readme. I think it''s okay to post this kind of thing to the mailing list. Anyway, hopefully someone else finds this useful. UrlForWithPrefix ================ By Pat Maddox Very simple plugin, adds the :prefix option to url_for. Say in your environment.rb file you''ve got ActionController::AbstractRequest.relative_url_root = "/super" Any time
2007 Nov 07
11
Links go to ''localhost''
I am using Apache2.2 + Mongrel on my machine. Now I am accessing it over LAN. When I enter http://mymachinename/myapp it opens fine but when I click on any link in my rails app, it replaces mymachinename with localhost (http://localhost/myapp/controller/action) and thus I am unable to access it from remote location.
2007 Nov 29
7
Sessions Not Working In Production Mode
...ing fine. If I restart the production webserver, the sessions process works again, for a while. But then the same problem resurfaces. The production server is Mongrel being proxied by Apache. I''ve experienced this same problem running Lighttpd proxied via Apache. The application uses the reverse_proxy_fix plugin. Thanks for any help! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsub...
2006 May 03
12
Mongrel + RubyOnRails + FileUploads = Problems?
I really like the idea of using Mongrel. But reading the FAQ, I noticed something that might be an issue. It stated: "Ruby on Rails is not thread safe so there is a synchronized block around the calls to Dispatcher.dispatch. This means that everything is threaded right before and right after Rails runs. While Rails is running there is only one controller in operation at a time." So