In this example we've usedas your context path, as this is used by Confluence, and will cause problems later on.
Assuming the original configuration file on Windows is at (again, this may not be the correct location, I'll need to check a Windows machine to be sure), create the following directories:
Copy files that exist in the Linux , adding it if it didn't exist under Linux.
You will need to enable the following required Apache modules if they are not already enabled:
As John has alluded to, the default configuration for Apache installed on Windows is at in a flat file. The path may be somewhat different, as I don't have a Windows machine handy at the moment. Most Linux distributions have their own custom hierarchical structure which looks something like the following. This example is from Debian and may vary with other distributions.
Its now time to define a Virtual Host which is how to setup a reverse proxy in apache 2 2 a separate instance of your web-server(). We are defining it to enable more fine-grained logs customise proxy settings. Start with backing up the original default Virtual Host.
You don't need the directories since links aren't supported under Windows. You can add them if you want, but things won't work the same. Also, I'd recommend putting the module configurations into the httpd.conf file. Since they aren't managed by the package manager, it will be easier to just keep them in one spot.
Atlassian applications allow the use of reverse-proxies, however Atlassian Support does not provide assistance for configuring them. Consequently, Atlassian.
If you plan to enable HTTPS, see, andmake sure you choose the HTTPS sample connector.
This page documents a configuration of Apache, rather than of Confluence itself. Atlassian will support Confluence with this configuration, but we cannot guarantee to help you debug problems with Apache. Please be aware that this material is provided for your information only, and that you use it at your own risk.
Having compression run on both the proxy and Tomcat can cause problems integrating with other Atlassian applications, such as Jira. Please disable HTTP compression as per ourdocs.
Is there any reason you can't create the same folder structure under Windows as you have under Linux? You can't expect to just install Apache and have it magically create a tree of folders that aren't part of it's default configuration. Create the same structure, copy the configs and edit as and where appropriate.
I've described all this to hopefully make it easier to understand how to replicate it under Windows. With the exception that links are not well supported under Windows (has this changed in Vista/Server 2008/Windows 7?) it's relatively easy to set this structure up. But you will have to do it manually, since the default configuration doesn't do it for you. Make sure you adjust the following to match the Linux distribution you're migrating from.