OK,
I tried setting <property name="url"
value="www.a.com"/> and that made
Pebble unable to fin the .css files required to layot the
page. The images
didn't show up either.
I removed the setting, and things looked fine. I then hit
the site through
www.b.com, and the links were all pointing to www.a.com.
I'd say that behavior is quite unexpected.
Juanca
| -----Original Message-----
| From: pebble-user-bounces lists.sourceforge.net
| [mailto:pebble-user-bounces lists.sourceforge.net] On
Behalf
| Of Laust M. Ladefoged
| Sent: Thursday, August 17, 2006 02:18 AM
| To: Pebble-user lists.sourceforge.net
| Subject: Re: [pebble-user] Multiple domains?
|
| Hej Juanco,
|
| If you have not set a value specifically for the url
property
| in WEB-INF/applicationContext-pebble, then Pebble will
| "guess" the url to use.
|
| To the best of my knowledge it does this by choosing the
url
| used in the first request to Pebble after a restart of
your
| servlet container.
|
| So if the first url you access after a restart is
www.a.com,
| then all urls in Pebble will be set to www.a.com, even if
you
| later user www.b.com to access the blog.
|
| Pebble will only handle one url for an instance and if you
| want to control it, you probably will, you should set the
url
| property in WEB-INF/applicationContext-pebble.
|
| - Laust.
|
| On 8/17/06, Juancarlo Aņez <juanca suigeneris.org> wrote:
| >
| > How does Pebble decide the value of its About/Blog
URL variable?
| >
| > I have two domains pointing to the same IP address
and Pebble gets
| > stuck on one of them. If I enter the blog from
www.b.com
| all the links
| > in Pebble point to www.a.com.
| >
| > I'm running 2.0.0 RC1.
| >
| > Juanco
| >
| >
| >
|
------------------------------------------------------------
----------
| > --- Using Tomcat but need to do more? Need to support
web services,
| > security?
| > Get stuff done quickly with pre-integrated technology
to
| make your job
| > easier Download IBM WebSphere Application Server
v.1.0.1 based on
| > Apache Geronimo
| >
| http://sel.as-us.falkag.net/se
l?cmd=lnk&kid=120709&bid=263057&dat=1216
| > 42 _______________________________________________
| > Pebble-user mailing list
| > Pebble-user lists.sourceforge.net
| > https://lists.sourceforge.net/lists/listinfo/pebble-user
| >
|
|
------------------------------------------------------------
--
| -----------
| Using Tomcat but need to do more? Need to support web
| services, security?
| Get stuff done quickly with pre-integrated technology to
make
| your job easier Download IBM WebSphere Application Server
| v.1.0.1 based on Apache Geronimo
| http://sel.as-us.falkag.net/sel?cmd=ln
k&kid=120709&bid=263057&
| dat=121642
| _______________________________________________
| Pebble-user mailing list
| Pebble-user lists.sourceforge.net
| https://lists.sourceforge.net/lists/listinfo/pebble-user
------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Pebble-user mailing list
Pebble-user lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pebble-user
|