Hello World Request

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Hello World Request

Kirk Fraser
Hi Julian,
 
Thanks for your response.  I'm first trying to do a "hello world" so I can see something get from Seaside to look like a real internet webpage beyond localhost service.  Doesn't matter if it shows the same page as http://localhost:8080/seaside behind a DNS like http://seaside.wantdesk.com or http://wantdesk.com/seaside but I'd prefer it shows up under default http://wantdesk.com and allow me to decide if I want regular http files served or Seaside files generated for my other DNS.
 
I'm using Apache but not the whole thing, just the cut down version that comes packaged under Wamp which also has PHP and MySQL built together.  It works under Windows XP. 
 
One additional complication is my Apache has found a bug - it starts up normally but it will only serve the default page with http://localhost (nothing else) and not the very same virtual host spec when called diretly using its DNS http://biblek12.com and after a few hours of trying with restore & reprogramming the vhost file it's still doing the same bug.  I do get http://localhost:8080/seaside normally.  I think the bug must be something special to prevent my DNS from working while using the same vhost correctly for the default localhost.
 
Thank you,
Kirk Fraser

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [Seaside] Hello World Request

Julian Fitzell-2
Kirk,

The first thing to do is use a default Seaside, without changing any
of the config settings and get it showing up under Apache. This should
not require any configuration of Seaside (other than starting it on
some port), just the appropriate Proxy configuration or whatever of
Apache.

Once you can see some Seaside content through Apache, then you *might*
want to set the ServerPath and so on (you'll know you need to because
all the links will still be to localhost:8080). For example, if your
application is running at http://localhost:8080/seaside/myapp but the
external address via Apache is http://example.com/apps/myapp, then you
would want to set ServerPath for your application to /apps/myapp and
ServerHostname to example.com (you might also have to set the port and
protocol, I can't quite remember how that logic works when those
fields are empty).

Julian

On Wed, Jan 27, 2010 at 1:00 AM, Overcomer Man <[hidden email]> wrote:

> Hi Julian,
>
> Thanks for your response.  I'm first trying to do a "hello world" so I can
> see something get from Seaside to look like a real internet webpage beyond
> localhost service.  Doesn't matter if it shows the same page as
> http://localhost:8080/seaside behind a DNS like http://seaside.wantdesk.com
> or http://wantdesk.com/seaside but I'd prefer it shows up under default
> http://wantdesk.com and allow me to decide if I want regular http files
> served or Seaside files generated for my other DNS.
>
> I'm using Apache but not the whole thing, just the cut down version that
> comes packaged under Wamp which also has PHP and MySQL built together.  It
> works under Windows XP.
>
> One additional complication is my Apache has found a bug - it starts up
> normally but it will only serve the default page with
> http://localhost (nothing else) and not the very same virtual host spec when
> called diretly using its DNS http://biblek12.com and after a few hours of
> trying with restore & reprogramming the vhost file it's still doing the same
> bug.  I do get http://localhost:8080/seaside normally.  I think the bug must
> be something special to prevent my DNS from working while using the same
> vhost correctly for the default localhost.
>
> Thank you,
> Kirk Fraser
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside