So I tried adding c='default' in the URL call or default_controller in
the BASE router, that does not work.
I also tried with host=True in the call, does not either.

Now I activated the server logging and I can see it looks for /
download/stock.... etc in another directory ... :s I really don't
understand ??

On May 26, 3:31 pm, Anthony <abasta...@gmail.com> wrote:
> On Wednesday, May 25, 2011 5:24:49 AM UTC-4, Joseph.Piron wrote:
>
> > routers = dict(
> > BASE = dict(
> > domains = {
> > 'stock': 'stock'
> > }
> > )
> > )
>
> > and now, I can access this application athttp://stock, but...
> > Now the link to download the images aren't correct anymore:
>
> > the link accessed fromhttp://stock/stock: <img src="/stock/download/
> > stockItems.photo.bc4b40cb067d4cb8.696d677265732e6a706567.jpeg"
> > class="photo">
>
> > the link accessed fromhttp://stock: <img src="/download/
> > stockItems.photo.bc4b40cb067d4cb8.696d677265732e6a706567.jpeg"
> > class="photo">
>
> Are you saying the image doesn't appear when src="/download/..."? If so,
> what happens if you add default_controller='default' to your BASE router, or
> if you specify c='default' in your URL call?

Reply via email to