troubleshooting Question

Virtual host in apache

Avatar of Insoftservice
InsoftserviceFlag for India asked on
Apache Web ServerLinux
31 Comments6 Solutions226 ViewsLast Modified:
Pointing 2 different paths to the same Apache domain name

<VirtualHost *:80>
    ##ServerAdmin webmaster@treoinfotech.com
     DocumentRoot "/var/www/xampp/htdocs/treo"
      ServerName treo.biz
      ServerAlias www.treo.biz
 </VirtualHost>

<VirtualHost *:80>
    ##ServerAdmin webmaster@treoinfotech.com
     DocumentRoot "/var/www/xampp/htdocs/blog"
      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
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 6 Answers and 31 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 6 Answers and 31 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros