Control Web Panel

WebPanel => Apache => Topic started by: mspgroups2020 on March 24, 2023, 01:13:16 AM

Title: URL Masking
Post by: mspgroups2020 on March 24, 2023, 01:13:16 AM
Thanks for looking for

I am trying to use input masking few of my subdomains. I configured like below in new subdomain prod.mspeducare.com. it seems not working. kindly suggest

RewriteEngine On
RewriteCond %{HTTP_HOST} ^prod.mspeducare.com$
RewriteRule ^(.*)$ https://dev.mspeducare.com/$1 [P]

Title: Re: URL Masking
Post by: overseer on March 25, 2023, 03:45:40 PM
There's no secret sauce with CWP's Apache -- it's pretty vanilla; you just have to have your syntax right. Is this what you are trying to achieve?
https://serverfault.com/questions/506623/masking-the-url-in-a-mod-rewrite (https://serverfault.com/questions/506623/masking-the-url-in-a-mod-rewrite)