Second DocumentRoot for certain URLS
- by scrr
Hello,
I have the following setup in my apache-config:
<VirtualHost 1.2.3.4:80>
ServerName example.com:80
ServerAlias www.example.com
DocumentRoot /var/www/page
<Location "/blog">
DocumentRoot /var/www/blog
</Location>
RailsBaseURI /
RailsEnv development
</VirtualHost>
However,
Apache tells me, I am not allowed to have a second DocumentRoot.
How can I make "www.example.com/blog" point to "/var/www/blog"?
I'm sure this is basic, but I just can't find the proper documentation online.