Ferrous Cranus <nikos.gr...@gmail.com> writes:

> Ok i see its just a convention.
> Can you help on this:
>
> so we need to remove <img src="/data/images/mail.png">  since the apache cant 
> see to open it and let Python open it which we know it can because it has 
> access to any system file the user has access too. 
>
> httpd cannot open this file because the location of the image is past the 
> addon domain's Document Root. 
>
> /home/nikos/public_html/cafebar-idea.gr = Addon's Domain Document Root 
>
> /home/nikos/public_html/data/images/mail.png = where the image file is 
> located 
>
> and the python scipt is on: 
>
> /home/nikos/public_html/cafebar-idea.gr/cgi-bin/counter.py 
>
> So if a python script can open any file the user has access too then we need 
> a "python way" of opening this file. 

So why don't you put the image at  
/home/nikos/public_html/cafebar-idea.gr/data/images/mail.png?
-- 
Piet van Oostrum <p...@vanoostrum.org>
WWW: http://pietvanoostrum.com/
PGP key: [8DAE142BE17999C4]
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to