Forcing Python to detect DocumentRoot

Ferrous Cranus nikos.gr33k at gmail.com
Fri Jan 18 15:49:31 EST 2013


Yes, iam using this and it works. 
One last thing: 

my python script file is located at /home/nikos/public_html/addon_domain/cgi-bin/ 

How python is able to run the following statement? 

f = open( '/home/nikos/public_html/' + page ) 

which is clearly levels up of addon domain's DocumentRoot? 



More information about the Python-list mailing list