webmail solution

I do not want the two times login checking Cpanel webmail system so installed the Squirrelmail seperatly to another directory. When i try to access it through the main domain it is ok. But i want to all the users access them through their domain.com/mail or something like that. I added a ScriptAlias to the apache but that seem to give the "premature head of script error". If i try adding only Alias, it redirects but searches the upcoming pages after login in the entered domain not where the sq is installed. Anyone who is using squirrelmail and have got a solution for this?

ps: i have checked the permission setup on the files.

 

 

 

 

Top