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
Ok
I'm not alone on this server and someone had created an alias /
download in the conf.d apache directory...
Life's tough sometimes.. :)
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(
nobody's got a clue ? :)
On May 25, 11:24 am, Joseph.Piron joseph.pi...@gmail.com wrote:
Hi guys,
i got a strange problem, I have made a simple application picking up
data from a database, including an upload field for small photos.
This works perfectly if hosted in the classic way, for
So as I am investigating this, I gave the pattern based routing system
and now it works.
Here's my routes.py:
routes_in = (
('/(?Pany.*)', '/stock/\gany'),
)
routes_out = (
('/stock/(?Pany.*)', '/\gany'),
)
with that the generated links for the photos are like
img src=/default/download/
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
5 matches
Mail list logo