This is a cache of https://fess.codelibs.org/14.17/config/virtual-host.html. It is a snapshot of the page at 2024-11-01T00:15:09.718+0000.
Virtual Host

Menu

Virtual Host

About Virtual Host

You can differentiate search results based on the hostname (URL’s host part) when accessing Fess. Since search results are displayed in individual JSP files, you can also customize the design.

System Configuration

Configure the “Virtual Host” in the Administrator’s Guide > General Settings. Specify the configured virtual host name in the crawl settings.

Format

Host:hostname[:port]=virtual_host_name
hostname A hostname or IP address that can be resolved (DNS) on the system.
port Optional. The default is 80.
virtual_host_name The virtual host name specified in the crawl settings.

Example

Host:abc.example.com:8080=host1
Host:192.168.1.123:8080=host2

After configuration, the search page JSP files will be generated in the WEB-INF/view/virtual_host_name directory. You can edit these files to customize the page design for each virtual host.

Crawl Configuration

Specify the “Virtual Host” in the web crawl settings, file crawl settings, or data store crawl settings. The “Virtual Host” should match one of the virtual host names configured in the system settings.

Example

Virtual Host host1