[Seaside] Re: From www.mysite.com:8080/myapp to www.mysite.com

Dav lasmiste at gmail.com
Thu May 10 09:55:32 UTC 2012


Philippe Marschall wrote
> 
> On Thu, May 10, 2012 at 7:57 AM, Dav <lasmiste@> wrote:
>> Hi Paul,
>>  I can't get to to work. Following my code:
>>
>> | application |
>> application := WADispatcher default handlerAt: 'myapp'.
>>
>> application
>> preferenceAt: #serverProtocol put: 'http';
>> preferenceAt: #serverHostname put: 'localhost';
>> preferenceAt: #serverPort put: 8080;
>> preferenceAt: #serverPath put: '/'
> 
> WADispatcher default defaultName: 'myapp'
> 
> Cheers
> Philippe
> _______________________________________________
> seaside mailing list
> seaside at .squeakfoundation
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> 

Further hint for list members:
If you have a reverse proxy like me and if you want to use default http port
(80), you shouldn't put

application preferenceAt: #serverPort put: 8080

but

application preferenceAt: #serverPort put: ''

otherwise all your links will have port 8080 set
Dav

--
View this message in context: http://forum.world.st/From-www-mysite-com-8080-myapp-to-www-mysite-com-tp4621122p4623040.html
Sent from the Seaside General mailing list archive at Nabble.com.


More information about the seaside mailing list