Have you tried absolute path to the image: src="/static/ chiantipy_ontheweb_597_120.png"?
I run a couple of webpy apps on webfaction, and everything works great. On Apr 3, 7:23 pm, Ken Dere <[email protected]> wrote: > I have been constructing an application using web.py for a while now. > On the development server, everything runs fine. Now I am trying to > implement it on an Apache wsgi server as set up on webfaction using > their setup. > > Everything runs fine - the application, forms, templates, cookies > except I can not insert a simple image file into my served html > pages. I have looked at the cookbook recipe but I can not implement > some of the <Directory> commands. > > I have set an Alias to my htdocs/static directory but that does not > work. Looking at the Apache V2 docs, this should be all I need to do. > > Alias /static $HOME/webapps/chiantiweb_wsgi/htdocs/static/ > > then in my index.html template, I use the following reference > > src="static/chiantipy_ontheweb_597_120.png" > > Any help would be appreciated. > > Ken Dere -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
