[Seaside] default entry & Base URL := URL redirect

Florian Minjat florian.minjat at emn.fr
Thu Mar 1 10:30:44 UTC 2007


This one too from the same thread should interrest you :

">> I need my application to be accessible with an url
>> like 'http://myaddress/myApp' and not like
>> 'http://myaddress/seaside/myApp'. Previously I was just doing :
>> WADispatcher default basePath: ''.
>> [...]
>
> Lukas Renggli wrote:
>Aha, now I understand the problem. Evaluate the following code:
>     WADispatcher default setName: ''
>and everything should work. Thanks to the new implementation of the
>dispatchers ;-) "

Florian

Brad Fuller wrote:
> Lukas Renggli wrote:
>>> Now, Base-path does not exist. What is the method to make your URL:
>>>
>>> http://mydomain.com/seaside/myapp
>>>
>>> to
>>>
>>> http://mydomain.com/
>>
>> Have a look at the thread "[Seaside] Seaside 2.7" it discusses this
>> towards the end. Search for #serverPath:
> 
> I assume you mean this:
> 
> "The basePath is now a setting in the application called #serverPath,
> similar to #serverPort and #serverHost. To change the path you have to
> change the application configuration. "
> 
> I don't quite understand it. But, I'll try and figure it out tomorrow 
> morning (I'm in PST)
> 
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> 


More information about the Seaside mailing list