Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6798141
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:41:40+00:00 2026-05-26T18:41:40+00:00

This question has not been asked since Rail 3.0 came out (or I cannot

  • 0

This question has not been asked since Rail 3.0 came out (or I cannot find it):

How to run Rails 3+ application on Apache on Windows (WAMP)? Is Mongrel the best option? Sounds not optimal to me to have Apache as a proxy and then another server. Passenger does not exist on Windows.

What I hope to get from your is a link to a magical installation package and a snippet from the httpd.conf file that would divert one to a rails application.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T18:41:41+00:00Added an answer on May 26, 2026 at 6:41 pm

    The advantage of using apache (or nginx) as a proxy is that it can load-balance between different mongrel (or thin) instances. So you would have to start three mongrel instances (services) and configure apache to proxy those.

    Configuring apache to different mongrel processes is pretty straightforward, can be found all over the internet. Here is an example of a httpd-vhosts.conf (replace yourapplication by your actual application/domain and root-folder):

    <VirtualHost *:80>
        #ServerName 10.200.65.35
        #ServerAlias 10.200.65.35
        ServerName yourapplication.com
    
        DocumentRoot d:/yourapplication/current/
    
        <Directory c:/yourapplication/current/public/ >
          Options Indexes FollowSymLinks MultiViews
          AllowOverride All
          Order allow,deny
          allow from all
        </Directory>
    
    
         # On active les proxy qui sont par défaut désactivés
        <Proxy *>
            Order allow,deny
            Allow from all
        </Proxy>
        <Proxy balancer://mongrel_cluster>
            BalancerMember http://127.0.0.1:4000
            BalancerMember http://127.0.0.1:4001
            BalancerMember http://127.0.0.1:4002
        </Proxy>
    
        ProxyPass / Balancer://mongrel_cluster/
        ProxyPassReverse / balancer://mongrel_cluster/
        #ProxyReserveHost on
    
    
        #log files
        ErrorLog "/Program Files/Apache Software Foundation/Apache2.2/logs/yourapplication_error.log"
        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn
        CustomLog "/Program Files/Apache Software Foundation/Apache2.2/logs/yourapplication_access.log" combined
    
        #Rewrite stuff
        RewriteEngine On
    
        # Rewrite index to check for static
        RewriteRule ^/$ /index.html [QSA] 
    
        # Rewrite to check for Rails cached page
        RewriteRule ^([^.]+)$ $1.html [QSA]
    
        # Redirect all non-static requests to cluster
        RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
        RewriteRule ^/(.*)$ balancer://mongrel_cluster%{REQUEST_URI} [P,QSA,L]
    </VirtualHost>
    

    Another, very promising alternative to deploy on windows is using TorqueBox.
    TorqueBox is JBoss/Jruby based solution, and thus platform independent. In benchmarks it is shown that TorqueBox performs incredibly well, and actually anybody should seriously consider switching to it.

    Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Alright, I'm not sure if this question has been asked before so if it
I know this specific question has been asked before , but I am not
So, if this question has been asked before, I'm sorry. I'm not exactly sure
So this question has been asked before , but not answered in great detail.
This question has been asked here, Image Replacement (gallery style) with Fade-In's / Fade-Out's
I know this question has been asked lots of times, but I am not
This question has been asked in many different ways out there, but I have
Well, I'm sure this question has been asked before but I'm yet to find
It's not a programming questions. But this question has been bugging me for awhile.
This question has been asked before ( link ) but I have slightly different

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.