Server wide redirects issue.

Misiek

Well-Known Member
Feb 23, 2004
116
0
166
cPanel Access Level
Root Administrator
Dear All,
One of my client asked for a redirection of domian.com/webmail becuse many people for a few years now use this address.

I tried to correct the problem by user virtualhost
I created a file
/usr/local/apache/conf/userdata/std/2_2/user/domain.com/webmail.conf
In this file I entered :
Code:
ScriptAlias /webmail /home/user/public_html/
ScriptAliasMatch ^/?webmail(/.*|/?)$ /home/user/
After ensuring its ok and restarting apache nothing changed.
Can anybody give a hint why ? The changing of global redirect is impossible.
Regards,