Update
suppose there is a domain named abc.com
I rewrite the domain using htaccess
DocumentRoot Web root is /
I rewrote the / src/blog.php
file to abc.com/blog
, so I hid the filename
RewriteRule ^blog$ src/blog.php
I went to the linode server to send an A directory subdomain to the server
called b.abc.com
.
points to the same web site root directory as /
, that is, using abc.com will be the same as b.abc.com directory
question
I want to rewrite the / app/index.php
file to b.abc.com
, that is to say, b.abc.com is the same as / app/index.php
. How can this be implemented in htaccess?