Remap trac subdir


I’ve installed trac on my website, but I need to be placed in a directory outside my web root. I moved the trac directory to my home and created a mapping from http://mydomain/trac to /home/myuser/trac, but it doesn’t work. Checking the logs I see that the server is still looking for the .htpasswd file in /home/myuser/mydomain/trac directory… I tried editing the .htaccess file, but I don’t have the appropriate permissions. Any suggestion? Thanks.