Eliminating seaside/go from application URL?

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

Eliminating seaside/go from application URL?

Carl Gundel
How can I change the default so that I do not need to put
/seaside/go/applicationName in my URL?  Or if nothing else I'd like to get
rid of the seaside/go part of the URL.

-Carl Gundel, author of Liberty BASIC
http://www.libertybasic.com


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

Re: Eliminating seaside/go from application URL?

Michel Bany-3
Carl Gundel a écrit :

>How can I change the default so that I do not need to put
>/seaside/go/applicationName in my URL?  Or if nothing else I'd like to get
>rid of the seaside/go part of the URL.
>
>  
>
Try with the SeasideShortPath parcel in the
contributed/Seaside/BonusPack folder.

Warning : the SeasideShortPath parcel on the VW
distribution CD has a serious bug. You might be
able to get a corrected version of the parcel at
ftp://ftp.cincom.com/incoming/Seaside

Cheers,
Michel.

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

RE: Eliminating seaside/go from application URL?

Kurt Thams

If Seaside is sitting behind Apache, you can also use the ProxyPass and
ProxyPassReverse directives to have Apache map whatever URL path you want
into the Seaside application...

  ProxyPass / http://localhost:8888/seaside/applicationName/
  ProxyPassReverse / http://localhost:8888/seaside/applicationName

As I recall, ProxyPassReverse isn't available by default on Apache...you may
have to add that.

- kurt


> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf
> Of Michel Bany
> Sent: Saturday, August 19, 2006 7:28 AM
> To: The Squeak Enterprise Aubergines Server - general discussion.
> Subject: Re: [Seaside] Eliminating seaside/go from application URL?
>
> Carl Gundel a écrit :
>
> >How can I change the default so that I do not need to put
> >/seaside/go/applicationName in my URL?  Or if nothing else
> I'd like to
> >get rid of the seaside/go part of the URL.
> >
> >  
> >
> Try with the SeasideShortPath parcel in the
> contributed/Seaside/BonusPack folder.
>
> Warning : the SeasideShortPath parcel on the VW distribution
> CD has a serious bug. You might be able to get a corrected
> version of the parcel at ftp://ftp.cincom.com/incoming/Seaside
>
> Cheers,
> Michel.
>
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

RE: Eliminating seaside/go from application URL?

Ramon Leon-5
> If Seaside is sitting behind Apache, you can also use the
> ProxyPass and ProxyPassReverse directives to have Apache map
> whatever URL path you want into the Seaside application...
>
>   ProxyPass / http://localhost:8888/seaside/applicationName/
>   ProxyPassReverse / http://localhost:8888/seaside/applicationName
>
> As I recall, ProxyPassReverse isn't available by default on
> Apache...you may have to add that.
>
> - kurt

Alternatively, you can also use

ProxyPreserveHost On
RewriteRule ^/SomePath(.*)$ http://localhost:8888/seaside/SomePath/$1 [P,L]


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

Re: Eliminating seaside/go from application URL?

keith1y
In reply to this post by Carl Gundel
Set the "default" entry point to be the application that you wish to
handle non seaside/go hits.

Keith

               
___________________________________________________________
The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Eliminating seaside/go from application URL?

Sophie424
From: "Keith Hodges" <[hidden email]>
Subject: Re: [Seaside] Eliminating seaside/go from application URL?


> Set the "default" entry point to be the application that you wish to
> handle non seaside/go hits.

The simplest way I found was:

- set WADispatcher default inst-var (class side) to nil
- edit the WADispatcher default method (class side) with the path you want
- re-register your apps


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

RE: Eliminating seaside/go from application URL?

Ramon Leon-5
> > Set the "default" entry point to be the application that
> you wish to
> > handle non seaside/go hits.
>
> The simplest way I found was:
>
> - set WADispatcher default inst-var (class side) to nil
> - edit the WADispatcher default method (class side) with the
> path you want
> - re-register your apps

Um... No.  Setting the default is an option within the web admin, it does
not require editing any code.

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside