Hi,
We use LiteSpeed in directadmin panel and it uses the Apache configuration to handle the shared services by default,
there are some alias addresses which are connected to public web programs in /var/www/html, example:
Alias /webmail "/var/www/html/webmail/"
now one of our clients wants to have this address /mail/ redirected to /webmail/ using this mod-rewrite rule:
RewriteEngine On
RewriteRule mail /webmail [L,NC]
but mentioned rule is not working and returns response 404 by browsing DOMAIN.COM/mail, seems that the "alias" rules is loaded after mod_rewrite ones
Can anybody help me make mentioned mod_rewirte work ?
thanks,
We use LiteSpeed in directadmin panel and it uses the Apache configuration to handle the shared services by default,
there are some alias addresses which are connected to public web programs in /var/www/html, example:
Alias /webmail "/var/www/html/webmail/"
now one of our clients wants to have this address /mail/ redirected to /webmail/ using this mod-rewrite rule:
RewriteEngine On
RewriteRule mail /webmail [L,NC]
but mentioned rule is not working and returns response 404 by browsing DOMAIN.COM/mail, seems that the "alias" rules is loaded after mod_rewrite ones
Can anybody help me make mentioned mod_rewirte work ?
thanks,