Answer the question
In order to leave comments, you need to log in
How to make apache redirect without automatic replacement of address bar in browser?
Good afternoon. The problem is this:
There is a 2nd level domain: test.aaa.com
There is a redirect to the 1st level domain in the virtual host:
aaa.com/online/index.html
<VirtualHost X.X.X.X>
ServerName test.aaa.com
ServerAlias www.test.aaa.com
redirect 301 / http://aaa.com/online/index.html
</VirtualHost>
Answer the question
In order to leave comments, you need to log in
Either you want proxying (and it's better to do it in nginx via proxy_pass), or you just need to add ServerAlias
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question