[Seaside] Deploying Seaside on a Swazoo Server
Julian Fitzell
jfitzell at gmail.com
Fri Jun 3 10:39:23 UTC 2011
Hi Nick,
I just skimmed your blog post. Note that under "Alternative 2" at the
bottom, rather than changing the default dispatcher, you could also
just change the dispatcher associated with (possibly only one of) your
server adaptor(s):
aServerAdaptor requestHandler: myApplication
When #requestHandler is nil (the default state) it uses the default dispatcher.
Julian
On Fri, Jun 3, 2011 at 9:58 AM, Nick Ager <nick.ager at gmail.com> wrote:
> Hi Pat,
>
>>
>> Right, I don't want people to have to type the extra /mysite. The book
>> doesn't really help as I'm only using Swazoo as server and I don't have an
>> Apache at the moment. Maybe I will in the future.
>
> at the bottom of the link I posted
> (http://book.seaside.st/book/advanced/deployment/deployment-preparing) is a
> solution to removing extra /mysite (even using the Swazoo):
> preferenceAt: #serverPath put: '/
> I've also written about it on my
> blog: http://nickager.com/blog/serving-seaside-requests-without-the-application-name-in-the-URL/
> HTH
> Nick
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
More information about the seaside
mailing list