Show images

edgard <[email protected]> Thu, 01 Oct 2009 11:02:19 -0300
Newsgroups gmane.comp.python.mod_python
Message-ID <[email protected]>
Group

I´m return to word on web sites with mod_python before a very 
interesting experience working with zope/plone.
In this moment I write a script test to verify if all the configurations 
is ok and something was wrong with one image. It doesn´t show in the 
browser. If we ask to show it in other pag, the apache show messege 
this: "The requested URL /pywww/imgs/top.jpg was not found on this 
server.". If we look for the font code,  the code  is correct.

The script code:

# !/python/python

def index_html():
        return """\
        <html>
        <body>
        <br />
        <center><b>Teste bem Sucedido<b/></center>
        <center><b><u>Legal Mesmo...</u></center>
        <center><img src="imgs/top.jpg" alt="teste"></center>
        </body></html>"""

What is wrong here?

-- 
Edgard Costa

web: www.pewebhosting.com.br

email: [email protected]

_______________________________________________
Mod_python mailing list
[email protected]
http://mailman.modpython.org/mailman/listinfo/mod_python
edgardalvescosta.vcf (text/x-vcard, 302 B)
begin:vcard
fn:Edgard Costa
n:Costa;Edgard
org:PeWebHosting
adr;quoted-printable:;;R. Julio dos Reis, 228;Tiet=C3=AA;SP;18530-000;Brasil
email;internet:[email protected]
tel;work:15 36150297
tel;cell:15 91085205
url:www.pewebhosting.com.br
version:2.1
end:vcard