Hi,
in apache I have the below conf which proxy the server example domain.com/webmail to access mail on localhost
but in litespeed, is not working I need to add / at the end like domain.com/webmail/
I have written conf to redirect to domain.com/webmail to domain.com/webmail/ but the below conf is not working it will not redirect
above conf, I have added in server conf and I am using Apache conf in litespeed
but this same rule is working in htaccess it will redirect properly
in apache I have the below conf which proxy the server example domain.com/webmail to access mail on localhost
but in litespeed, is not working I need to add / at the end like domain.com/webmail/
I have written conf to redirect to domain.com/webmail to domain.com/webmail/ but the below conf is not working it will not redirect
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/webmail
RewriteRule ^(webmail)$ /$1/ [R=301,L]
ProxyPass "/webmail/" "http://127.0.0.1:2002/mail"
ProxyPassReverse "/webmail/" "http://127.0.0.1:2002/mail"
RewriteCond %{REQUEST_URI} ^/webmail
RewriteRule ^(webmail)$ /$1/ [R=301,L]
ProxyPass "/webmail/" "http://127.0.0.1:2002/mail"
ProxyPassReverse "/webmail/" "http://127.0.0.1:2002/mail"
but this same rule is working in htaccess it will redirect properly
RewriteRule ^(webmail)$ /$1/ [R=301,L]