Displaying 20 results from an estimated 2000 matches similar to: "mongrel cluster w/ apache"
2007 Jun 03
6
mongrel cluster w/ apache
hi all,
i''m working on deploying my app w/ apache and a mongrel cluster. i''ve
started by copying the instructions and code from the agile rails book
and everything seems to be working fine but apache isn''t forwarding my
requests to mongrel the way i expect it should. there''s nothing in the
rewrite logs and nothing but 404 errors in the apache error logs.
2006 Oct 03
4
Apache Re-Write and Directories
Howdy,
I am using the ''default'' Apache 2.2 mod_rewrite rules suggested from the Web
site and they are working.
One thing related to static (non cluster directed) resources:
If I have a directory in public called ''static'', if I request it as follows:
http://www.domain.com/static/ - then it works
If I request it as:
http://www.domain.com/static - then it
2006 Jul 27
3
[somewhat OT] Apache config for Rails + ColdFusion + PHP
Our group has several web apps developed in ColdFusion, PHP, and Rails. The
ColdFusion and PHP apps are on an older server, and the Rails apps on a new
server. Ideally, we''d like them all to share the same server.
Our current setup for the Rails server is Apache2.2 with mod_proxy_balancer
and mongrel_cluster. We''d like to have specific directories be processed
and served by
2006 Aug 30
3
Ruby+Apache2.2+ProxyLoadBalance ...... +PHP??
Hi,
I just realice that I can''t run php code anymore once I installed my dear
mongrels (under an Apache Proxy Balancer).
I''m just trying to run the clasic phpinfo() in the following file
/var/rubyapp/public/phpinfo.php ... but instead of being executed the code
is being displayed as plain text ... This is the ouput :))
<?PHP phpinfo(); ?>
anyone can give a
2008 Jan 23
7
Apache, Mongrel, Authentication
A question about mongrel, apache and authentication.
I''ve got a Rails site with I think a very typical setup: a mongrel
cluster behind an Apache proxy. So Apache''s handling the static stuff
and it hands off dynamic content to mongrel. I want to put the site
temporarily behind Apache''s basic authentication. What I get when I
do this is that is a password prompt which
2007 Jan 25
6
NOT FOUND error
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
2006 Jul 20
5
Apache 2.2, Mongrel and #caches_page
Hi !
I''m no expect when it comes time to configure Apache. I just enabled
page caching in my Rails app, and am now looking at making Apache
serve the cached files instead of calling into Rails.
I know Mongrel is able to serve cached files if it finds them, but I''d
like Apache to do it.
Looking at .htaccess, there is this section:
RewriteEngine On
RewriteRule ^$ index.html
2006 Dec 11
2
Does mongrel look at the Rails page cache?
Hi all. I''m trying to skip the Rails page cache if the user is logged
in:
---
# Rewrite index to check for static
RewriteCond %{HTTP_COOKIE} !^.*logged_in=yes.*$
RewriteRule ^/$ /index.html [QSA]
# Rewrite to check for Rails cached page
RewriteCond %{HTTP_COOKIE} !^.*logged_in=yes.*$
RewriteRule ^([^.]+)$ $1.html [QSA]
# Redirect all non-static requests to cluster
RewriteCond
2006 Sep 26
5
Expert feedback needed
Hello list,
Some time ago I was looking for apache (as non balanced proxy) +
mongrel configurations. Almost everybody seemed to use similar
approaches (one of these could be found @ mongrel.rubygorge.org docs)
with mod_rewrite. I don''t use proxy_balancer because I don''t need it
at the moment (my site has pretty low traffic). This is apache
configuration that I''m using
2008 Jun 16
3
Apache rewrites with mongrel
I?m knew to rewrites on apache in combination with mongrelcluster.
It?s urgend for me, because the server has an loadaverage about 10
:-(((((
Ok so I?m using 3 mongrel-server on an mongrelcluster. The Loadbalancer
ist apache
I think, that my rewrites are not correct. Please can anybody check my
rewrites ?
That?s in my /etc/apache2/conf.d/rails.proxy_cluster.conf
<Proxy
2006 Jul 23
9
Kubuntu, Apache 2.2, Mongrel, Mongrel Cluster
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: new_notes
Type: application/octet-stream
Size: 5801 bytes
Desc: not available
Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060723/34e20e45/new_notes.obj
2006 Sep 07
8
what should be correct .conf file for being served by apache for static content
Recently while i turned on USR1 debugging...mongrel running behind
Apache2.2threw following debugging messages:
Thu Sep 07 15:58:30 IST 2006: 0 threads sync_waiting for /charts/%5EBSESN, 1
still active in mongrel.
Thu Sep 07 15:58:40 IST 2006: 0 threads sync_waiting for
/images/tab_but_normal1.png, 3 still active in mongrel.
Thu Sep 07 15:58:40 IST 2006: 0 threads sync_waiting for
2006 Jul 24
7
Apache server-status?auto in rails
Just want to check the status of Apache monitor. but Apache
server-status?auto can not be explained as normal URL in rails.
For Http://localhost/server-status?auto, rails always regard
server-status as one controller/method. It prompts errot: Recognition
failed for "/server-status"
Therefore, can not get the status info of Apache monitor. Pls expert
help me!!! Thanks in advance.
2007 Nov 22
4
reg vhost in apache
Hi all,
I am facing one problem in configuration of httpd-vhosts.
my requirment is if url comes from servername (i.e http://sutra) it
should redirect to my home page.if url comes from serverAlias(i.e
http://sutrateam) it should go to advance search page....if any one
knows how to do pls help me
below file is my vhost file
<VirtualHost *:80>
ServerName sutra
ServerAlias
2005 Oct 10
1
Need help from Apache mod_rewrite crew !
Hi !
Has anyone got any tips/tricks on running a Productized Rails app on
DreamHost ?
Specifically, I get this in my error.log:
-----------
[Mon Oct 10 11:39:46 2005] [error] [client 69.70.225.69]
mod_rewrite: maximum number of internal redirects reached. Assuming
configuration error. Use ''RewriteOptions MaxRedirects'' to increase the
limit if neccessary.
-----------
As
2007 Oct 03
5
403 (Forbidden) with Apache on Mongrel Cluster
Hi,
I''ve configured a rails application on my VPS to run on two
mongrels. When I run curl on localhost, the starting page comes up
fine. That is, mongrel is serving the app perfectly.
The problem arises when trying to access the app on my ip through
apache. I
get a 403 error. Just to test things out, I''ve set generous
permissions on the entire rails directory structure
2007 Jan 02
2
problem with mongrel/apache2.2.3 and subdomain setup
Hi all
I got a vps setup amazingly fast using the deprec recipes on Ubuntu
edgy, but now I''m having a minor issue where my site loads for the
main domain when I only want it accessible from the subdomain. This
is a pretty typical setup, apache 2.2.3 -> mongrel_proxy_balancer ->
mongrel cluster. I''m sure I''m missing something obvious in the
config...
I have the
2006 Nov 08
2
Apache 2.2.3 setup woes
Good morning everyone,
I am running apache 2.2.3 compiled from source and proxy load balancer as
described on the mongrel site.
I have a total of three sites, this setup works really well for two of them
but for one of them, I keep getting "Forbidden" errors and this error in the
apache logs:
[warn] proxy: No protocol handler was valid for the URL /. If you are using
a DSO version of
2006 Dec 16
5
trying to add another app
hey all,
I have an app working great with apache2 and mongrel_cluster.
However, I''m trying to run another application and now when I go to
app1.comit falls to
app2.com and the opposite. That''s probably because I messed up somewhere
with the cluster.
this is the content of my conf.d/app1.proxy_cluster.conf:
<Proxy balancer://mongrel_cluster>
BalancerMember
2007 Jan 17
2
mongrel cluster (+ Apache 2.2.4 + proxy balancer) not redirecting correctly
I''m in the process of setting up a mongrel cluster at the moment, and I''m
running into a bit of an issue. Even worse is that I''m not sure whether
this is a mongrel thing, or an Apache thing. While I''m inclined to think
that this might be a balancer thing, I decided there was a higher chance
hearing back from mongrel-users than from apache-users, so I''d