Hey now, I've since updated it and removed that (a long time ago)! (I'm slingshothosting.com's founder btw)
It's under heavy active development. You should check out the latest here: http://svn.highgroove.com.com:8080/deployment/trunk/ I'll update our links -- we've been sending our customers our latest over e-mail and not posting to the support site. Glad you're enjoying it, On 1/25/07, Chuck Vose <[EMAIL PROTECTED]> wrote: > Thanks, I'll try this when i get to work today. I got this recipe from > slingshothosting but I've noticed that the recipe they've posted isn't > quite finished. Still a wonderful recipe but must be used with care. > > -Chuck Vose > > On 1/24/07, Charles Brian Quinn <[EMAIL PROTECTED]> wrote: > > prefix is not what you think it is. > > > > remove that line and it should work. > > > > prefix is for hosting a rails app at: http://server/prefix > > > > > > > > On 1/24/07, Chuck Vose <[EMAIL PROTECTED]> wrote: > > > I've been hunting the web and reading the mailing lists all day but > > > I'm not finding any guidance on this problem. When I try to talk to my > > > mongrel it simply responds with NOT FOUND and nothing else. I can't > > > find anything on google because this has to be the second most commond > > > phrase in existence. > > > > > > Any help or guidance would be greatly appreciated. > > > > > > Sincerely, > > > Chuck Vose > > > > > > --- > > > > > > mosaic.common: > > > > > > ServerName myapp.tld > > > ServerAlias www.myapp.tld > > > DocumentRoot /var/www/apps/myapp/current/public > > > > > > <Directory "/var/www/apps/myapp/current/public"> > > > Options FollowSymLinks > > > AllowOverride None > > > Order allow,deny > > > Allow from all > > > </Directory> > > > > > > RewriteEngine On > > > > > > # Uncomment for rewrite debugging > > > #RewriteLog logs/myapp_rewrite_log > > > #RewriteLogLevel 9 > > > > > > # 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 > > > RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f > > > RewriteRule ^/(.*)$ balancer://myapp_mongrel_cluster%{REQUEST_URI} > > > [P,QSA,L] > > > > > > # Deflate > > > AddOutputFilterByType DEFLATE text/html text/plain text/xml > > > application/xml application/xhtml+xml text/javascript text/css > > > BrowserMatch ^Mozilla/4 gzip-only-text/html > > > BrowserMatch ^Mozilla/4.0[678] no-gzip > > > BrowserMatch bMSIE !no-gzip !gzip-only-text/html > > > > > > # Uncomment for deflate debugging > > > #DeflateFilterNote Input input_info > > > #DeflateFilterNote Output output_info > > > #DeflateFilterNote Ratio ratio_info > > > #LogFormat '"%r" %{output_info}n/%{input_info}n (%{ratio_info}n%%)' > > > deflate > > > #CustomLog logs/mosaic_deflate_log deflate > > > > > > ----- > > > > > > myapp.conf: > > > > > > <VirtualHost myapp.tld:80> > > > Include /etc/rails/myapp.common > > > > > > # This is required to convince Rails (via mod_proxy_balancer) that > > > we're > > > # actually using HTTPS. > > > RequestHeader set X_FORWARDED_PROTO 'https' > > > > > > ErrorLog /usr/local/apache2/logs/myapp_errors_log > > > CustomLog /usr/local/apache2/logs/myapp_log combined > > > </VirtualHost> > > > > > > <Proxy balancer://myapp_mongrel_cluster> > > > BalancerMember http://127.0.0.1:8000 > > > BalancerMember http://127.0.0.1:8001 > > > </Proxy> > > > > > > ------ > > > > > > mosaic_cluster.yml: > > > > > > --- > > > cwd: /var/www/apps/myapp/current > > > port: "8000" > > > environment: production > > > #address: 127.0.0.1 > > > pid_file: /var/www/apps/myapp/current/log/mongrel.pid > > > log_file: /var/www/apps/myapp/current/log/mongrel.log > > > servers: 2 > > > prefix: /usr/local/bin > > > _______________________________________________ > > > Mongrel-users mailing list > > > Mongrel-users@rubyforge.org > > > http://rubyforge.org/mailman/listinfo/mongrel-users > > > > > > > > > -- > > Charles Brian Quinn > > self-promotion: www.seebq.com > > highgroove studios: www.highgroove.com > > slingshot hosting: www.slingshothosting.com > > main: 678.389.9462 fax: 678.826.0969 > > > > Ruby on Rails Bootcamp at the Big Nerd Ranch > > Intensive Ruby on Rails Training: > > http://www.bignerdranch.com/classes/ruby.shtml > > _______________________________________________ > > Mongrel-users mailing list > > Mongrel-users@rubyforge.org > > http://rubyforge.org/mailman/listinfo/mongrel-users > > > _______________________________________________ > Mongrel-users mailing list > Mongrel-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users > -- Charles Brian Quinn self-promotion: www.seebq.com highgroove studios: www.highgroove.com slingshot hosting: www.slingshothosting.com main: 678.389.9462 fax: 678.826.0969 Ruby on Rails Bootcamp at the Big Nerd Ranch Intensive Ruby on Rails Training: http://www.bignerdranch.com/classes/ruby.shtml _______________________________________________ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users