hi mate, I put the .htaccess file in "/home/www-data/" directory in the same directory as web2py dir. Now it seems to work. When i type the URL the WWW is added in front of it like i wanted BUT the new issue is the following:
when i type mywebsite.com it gets redirect to www.mywebsite.com/web2py/wsgihandler.py/ I wonder and don't understand why it goes to "/web2py/ wsgihandler.py/" ?? Please help it you know Yannick P.