hi,
i want to redirect domainA.com to https://subdomain.domainB.com .
Redirection is success with code below
RewriteEngine On
RewriteCond %{HTTP_HOST} ^uophp.com
RewriteRule (.*) https://subdomain.domainB.com/$1 [L]
But when i try with below codes with flag [P] so that url doesnt get changed then it gives me 500 error
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domainA.com
RewriteRule (.*) https://subdomain.domainB.com/$1 [P]
i have checked proxy_module is loaded in apache ..
Getting out of cloue. Any help will be appreciated
i want to redirect domainA.com to https://subdomain.domainB.com .
Redirection is success with code below
RewriteEngine On
RewriteCond %{HTTP_HOST} ^uophp.com
RewriteRule (.*) https://subdomain.domainB.com/$1 [L]
But when i try with below codes with flag [P] so that url doesnt get changed then it gives me 500 error
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domainA.com
RewriteRule (.*) https://subdomain.domainB.com/$1 [P]
i have checked proxy_module is loaded in apache ..
Getting out of cloue. Any help will be appreciated
Last edited by a moderator: