[typo] mongrel weirdness

Timothy Brown tim at scarybright.org
Tue Aug 8 15:34:21 EDT 2006


Is there any workaround if I can't do this?  I'm in a hosted  
environment.

Thanks,
Tim


On Aug 8, 2006, at 1:32 PM, Scott Laird wrote:

> Install a Mongrel 0.3.13.4 pre-release and then do 'typo config
> ~/domain/typo prefix=/typo'.  Pre-0.3.13.4 releases of Mongrel don't
> work right unless they're serving rails apps from the root of the
> namespace.
>
>
> Scott
>
> On 8/8/06, Timothy Brown <tim at scarybright.org> wrote:
>> Hi;
>>
>> My setup looks like this:
>>
>> Apache (on :80) proxies to Mongrel (on :8885)
>> Mongrel's "root" is ~/directory
>> Typo is installed in ~/directory/typo
>>
>> if i've added in routes.rb
>>
>>         ActionController::AbstractRequest.relative_url_root ="/typo"
>>
>> in the right place, is there anything further I need to do in order
>> to achieve nirvana with typo under Mongrel?
>>
>> when I try to go to http://domain/typo/, I get redirected to /typo/
>> accounts/signup (prior to the .relative_url_root change, this was
>> going to /accounts/signup), but typo reports 'Page not found'
>>
>> There isn't anything of usefulness in the environment logs as far as
>> I can see.
>>
>> Does anyone have any hints?  My host is A2 and they've so far not
>> been able to help me out with typo4 work.  (They're using an older
>> version of Mongrel, so typo config . url-prefix= won't work.
>>
>> thanks,
>> tim
>>
>>
>> _______________________________________________
>> Typo-list mailing list
>> Typo-list at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/typo-list
>>
> _______________________________________________
> Typo-list mailing list
> Typo-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list



More information about the Typo-list mailing list