Apache HTTP server
  • 17 May 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Apache HTTP server

  • Dark
    Light
  • PDF

The Apache HTTP web server also known as Apache server is a free, open-source web server. Apache is highly flexible and customizable; functionalities can be easily turned on and off.


Example premise

Important: Replace the example domain with your own document360 provided domain/custom domain.

  • Example domain represented using example.document360.io and the subfolder/subdirectory path (/docs) as example.document360.io/docs

To set up a sub folder path

  1. Ensure the following modules are installed and enabled:
    sudo a2enmod proxy
    sudo a2enmod proxy_balancer
    sudo a2enmod proxy_http
    
  2. Add the following to the site configuration file under /etc/apache2/sites-available

For example: 000-default.conf

SSLProxyEngine on
ProxyPass "/docs"  “example.document360.io/docs”
ProxyPassReverse "/docs"  “example.document360.io/docs”
  1. Restart the Apache server

For example, If you are using Nginx on Linux, the use the command
$ sudo systemctl restart nginx


What happens next?

Once you have successfully configured the web server, your knowledge base site is now live on your custom subfolder/subdirectory. However, the existing URL for your project will serve the requests.

For example, example.document360.io and example.com/docs (if /docs is your folder path) will point to the knowledge base site.

This will cause duplicate content in Search engines (Google, Bing, etc.). For this, you will need to enable a URL redirect.

To enable the redirect from example.document360.io to example.com/docs, please contact us at support@document360.com.


Was this article helpful?