Good day, the second day I’m fighting a problem. There are two sites http://admin.example.ru and http://example.ru , they are located on the hosting like this: /home/p111111/www/admin.example.ru/ and /home/p111111/www/example.ru/ . You need to configure via .htaccess internal redirect so that all http://admin.example.ru files are taken from http://example.ru/admin , but attention, without reloading and changing the url. For simplicity, I still try to redirect to a single file, but this code does not work.
Options +FollowSymLinks RewriteEngine On RewriteBase /home/p111111/www/example.ru/ RewriteRule test.php admin/test.php At first I thought it was hosting jokes, I tried to do it locally on the Apache, I constantly get an error 403 (Forbidden).