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 at http://stock , but...
> Now the link to download the images aren't correct anymore:
>
> the link accessed from http://stock/stock : <img src="/stock/download/
> stockItems.photo.bc4b40cb067d4cb8.696d677265732e6a706567.jpeg"
> class="photo">
>
> the link accessed from http://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?