M
M
mr_blond972015-10-17 20:22:12
Apache HTTP Server
mr_blond97, 2015-10-17 20:22:12

How to redirect a virtual path in htaccess?

The two sites are in /var/www/html/A and /var/www/html/B. You need to make it so that when you enter ip in the address bar , site A opens, when you enter ip / b , site B opens. How to do this in .htacces?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
ShamblerR, 2015-11-02
@ShamblerR

make a soft link to the site /var/www/html/A/B
1 line in the console

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question