OK, got it working now! Here's the relevant part from httpd.conf (app
resides in /timesheets)
# Timesheets
<Proxy balancer://cyapm>
BalancerMember http://127.0.0.1:8100
BalancerMember http://127.0.0.1:8101
BalancerMember http://127.0.0.1:8102
BalancerMember http://127.0.0.1:8103
BalancerMember http://127.0.0.1:8104
</Proxy>
RewriteEngine On
RewriteRule ^/timesheets$ balancer://cyapm/timesheets/ [proxy]
RewriteCond %{REQUEST_FILENAME}
(engine_files|images|javascripts|stylesheets)/(.*)$
RewriteRule ^/timesheets/(.*)$ balancer://cyapm/$1 [proxy]
# Punt any pontential 404s to the proxy
RewriteCond %{REQUEST_FILENAME} ^/timesheets/.*
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
# for HTTPS
#RequestHeader set X_FORWARDED_PROTO 'https'
RewriteRule ^/(.*)$ balancer://cyapm/$1 [proxy]
==
Will Green
Web Developer & IT Coordinator, URS Creative Imaging
http://www.urscreativeimaging.com/
This e-mail and any attachments are confidential. If you receive this
message in error or are not the intended recipient, you should not retain,
distribute, disclose or use any of this information and you should destroy
the e-mail and any attachments or copies.
_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users