Problem in configuring Apache to run as front server

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs