We have a Windows server running Apache.
The Apache server is successfully configured to serve 6 sites using name-based virtual hosting.
I need to add a virtual directory to ONE of these sites, and have that directory's default document be a specific file from the site's directory structure (The site uses a CMS that generates fairly unpleasant static URLs, which is why we want to do this).
So, what I want is:
to serve content from
I can't work out how/where to add the statements to create the virtual directory.
Here's a chunk from the httpd-vhosts.conf file so you can see how we have configured what is working so far (IP addresses & URLs have been changed):
NameVirtualHost *:80 <VirtualHost *:80> ServerName 127.0.0.1 DocumentRoot "E:/webs/default/" </VirtualHost> # Main site <VirtualHost *:80> ServerAdmin email@example.com DocumentRoot "E:/webs/www.oursite.com/site/" ServerName www.oursite.com ErrorLog "E:/webs/www.oursite.com/logs/oursite.com-error.log" CustomLog "|C:/Apache/bin/rotatelogs.exe E:/webs/www.www.oursite.com/logs/oursite.com/logs/www.oursite.com/logs/oursite.com-access.%Y-%m-%d-%H_%M_%S 86400" combined </VirtualHost>