: Use different document root for subfolder of URL I have an php application that uses an MVC framework. Lets say it lives here http://domain.com on the web and here /srv/www/domain.com on my
I have an php application that uses an MVC framework.
Lets say it lives here domain.com on the web and here /srv/www/domain.com on my server.
I want domain.com/blog to use a wordpress install from here /srv/www/blog and all the root web traffic to go to my MVC app (as shown above)
How can this be done?
I am using linux and apache.
More posts by @Pierce454
1 Comments
Sorted by latest first Latest Oldest Best
In a .htaccess file or your httpd.conf:
Alias /blog/ /srv/www/blog/
Note the trailing slash.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.