Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getVirtualHostPath (0.2 sec)

  1. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

            // No matching host header
            HtmlNext result = virtualHostHelper.getVirtualHostPath(page);
            assertEquals("/search", result.getRoutingPath());
    
            // Matching host header
            request.addHeader("Host", "example.com");
            result = virtualHostHelper.getVirtualHostPath(page);
            assertEquals("/site1/search", result.getRoutingPath());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/VirtualHostHelper.java

         *
         * @param page The HTML page to get the virtual host path for
         * @return The HTML page with updated virtual host path
         */
        public HtmlNext getVirtualHostPath(final HtmlNext page) {
            return processVirtualHost(s -> {
                final String basePath = getVirtualHostBasePath(s, page);
                return new HtmlNext(basePath + page.getRoutingPath());
            }, page);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

         * @return the processed path with virtual host handling applied
         */
        protected HtmlNext virtualHost(final HtmlNext path) {
            return ComponentUtil.getVirtualHostHelper().getVirtualHostPath(path);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.8K bytes
    - Viewed (0)
Back to top