Pointing 2 different paths to the same Apache domain name
<VirtualHost *:80>
##ServerAdmin webmaster@treoinfotech.com
DocumentRoot "/var/www/xampp/htdocs/tre
o"
ServerName treo.biz
ServerAlias
www.treo.biz
</VirtualHost>
<VirtualHost *:80>
##ServerAdmin webmaster@treoinfotech.com
DocumentRoot "/var/www/xampp/htdocs/blo
g"
ServerName blog.treo.biz
</VirtualHost>
I want to change blog.treo.biz to treo.biz/blog
Alias can do this method but have no idea how to do it. Have google it but failed Please help
Please give solution for both ubuntu and centos
blog is in wordpress and treo.biz is in laravel
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.