Your comments

Hi Teeps, i think a "add www" when creating domain name would be a nice feature. I would not know to do to add it automatically, and also I would not like it so.. because the "www" well be added to subdomains too.
Thanks Filip !!, this is an excellent solution.
I know almost nothing about Python, so your help served me a lot.
Hi Eugene, in my ajenti installation there are no website path as default open_basedir, in fact i make a php script to write outside the web root and it works. I have the last version of ajenti. Do you remove that default value ?
Thx

Ram