[Mongrel] Telling Apache Not to Send a Sub-Directory to the Cluster
lists at lastonepicked.com
Thu Aug 10 14:02:04 EDT 2006
Thanks, that's what I'm going for but just like you, not good enough to get
Been messing with the docs for the past hour and no luck yet. I was hoping a
guru could lend a hand.
> From: Philip Hallstrom <mongrel at philip.pjkh.com>
> Reply-To: <mongrel-users at rubyforge.org>
> Date: Thu, 10 Aug 2006 12:56:28 -0500 (CDT)
> To: Mongrel <mongrel-users at rubyforge.org>
> Subject: Re: [Mongrel] Telling Apache Not to Send a Sub-Directory to the
>> I am using Apache 2.2 and Mongrel with great success.
>> I have a mod_rewrite question and I am NO expert. I think it's really simple
>> but I haven't nailed it. I was hoping someone here could help.
>> I'm using Apache conf right out of the cluster example from the Mongrel
>> I have a directory under my apps 'public' directory called 'sendto'. Files
>> in that directory are accessible but I want to be able to provide a
>> directory listing for when no specific file is requested.
>> Right now, it seems that the requests to http://domain.com/sendto/ are being
>> sent to the cluster.
>> I am looking for a rewrite statement that basically tells Apache not to send
>> that specific URL pattern to the cluster.
> Add a rewrite condition to the rule that sends things to the cluster
> saying that if the url matches this, that's false so bail...
> I'm not good enough to write out the rule on the fly, but the docs should
> get you there....
More information about the Mongrel-users