On Wed, Jul 22, 2009 at 10:04 AM, John McKeon<
[hidden email]> wrote:
>
>
> On Wed, Jul 22, 2009 at 10:56 AM, Alexandre Bergel <
[hidden email]>
> wrote:
>>>
>>> No, on the main config page (NOT pier's config page) below the list of
>>> available entry points is the settings section. Use the drop down box
>>> labelled "Default Entry Point" to select the default entry point :)
>>
>> Good start, I can now access pier from
http://localhost:8080/seaside>> A bit better would be to remove 'seaside'. Again, no idea how. I read the
>> FAQ and so on.
>>
>>> In the server part, there are three field input:
>>> 1 - Resource Base Url
>>> 2 - Server Hostname
>>> 3 - Server Path
>>>
>>> I am struggling to make the website accessible from
>>>
http://localhost:8080 simply (in order to have it on seasidehosting.st)
>>> Is this possible?
>>>
>>> Absolutely. See the FAQ
>>
>> I lost the habit of reading manual and faq.
>>
>>> I dont want to be the bearer of bad news but IF you are using a Pharo
>>> image it will not run on seasidehosting.st
>>
>> Waaaaaa!!! How to loose hours to configuring hoping to make it work...
>> Thanks,
>>
>> Cheers,
>> Alexandre
>
> Use Miguel's excellent advice
>
> WADispatcher default setName: ''
> I have no idea if setting the default entry point to '' is dangerous/has
> side effects but it seemed to work OK
>
It is not dangerous but it limits you.
For example, you can't use apache/lighttpd to do a proxy/rewrite by
relying on a prefix on the url and have static content at the same
time. This means that the images manages *everything* dynamic code and
static content that is not optimal.
By using /seaside/something and letting the webserver to proxy
everything that begins with /seaside to the squeak/pharo image and
every else (css files, images, pdf, etc) to be served directly by the
web server it is a better architecture.
But if your app handles everything in the image, this configuration
doesn't harm.
Miguel Cobá
> Cheers
> John
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel
http://www.bergel.eu>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>> _______________________________________________
>> Magritte, Pier and Related Tools ...
>>
https://www.iam.unibe.ch/mailman/listinfo/smallwiki>
>
>
> --
>
http://jmck.seasidehosting.st>
> _______________________________________________
> Magritte, Pier and Related Tools ...
>
https://www.iam.unibe.ch/mailman/listinfo/smallwiki>
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki