Forum: Mongrel problem in configuring Apache to run as front server

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
4b1d69e2ac9037081497056f70196369?d=identicon&s=25 Amit Tomar (amit-singh)
on 2010-09-16 16:30
Hii all,
         i am ruuning a rails application as windows service like
 first i created an empty service using instsrv.exe and srvany.exe with
named smruti_exp ,then i edit in regedit to make this empty service work

  This is  how running smruti_exp  as  service
  AppParameters=script\server -b -p 3000

am running mongrel to do all work,but i would like to run apache server
as front server ,so i made some chnges in http.conf files come with

LoadModule rewrite_module modules/
LoadModule proxy_module modules/
LoadModule proxy_balancer_module modules/
LoadModule proxy_http_module modules/

NameVirtualHost *:80

#Proxy balancer section (create one for each ruby app cluster)
<Proxy balancer://src_cluster>
  BalancerMember http://src:3000
 # BalancerMember http://myapp:3011

#Virtual host section (create one for each ruby app you need to publish)
<VirtualHost *:80>
  ServerName src
  DocumentRoot D:/work/Smruti1/src/public/

  <Directory D:/work/Smruti1/src/public/ >
      Options Indexes FollowSymLinks MultiViews
      AllowOverride All
      Order allow,deny
      allow from all

  #log files
  ErrorLog /var/log/apache2/src_error.log
  # Possible values include: debug, info, notice, warn, error, crit,
  # alert, emerg.
  LogLevel warn
  CustomLog /var/log/apache2/src_access.log combined

  #Rewrite stuff
   RewriteEngine On

  # Check for maintenance file and redirect all requests
  RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f
  RewriteCond %{SCRIPT_FILENAME} !maintenance.html
  RewriteRule ^.*$ /system/maintenance.html [L]

  # 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
  RewriteRule ^/(.*)$ balancer://src_cluster%{REQUEST_URI} [P,QSA,L]

these are the changes i made and in host file
i added src

and try to access my application like http://src
but not working what is the problem
This topic is locked and can not be replied to.