Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8E67518DEA for ; Tue, 7 Jul 2015 14:13:21 +0000 (UTC) Received: (qmail 19362 invoked by uid 500); 7 Jul 2015 14:13:18 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 19298 invoked by uid 500); 7 Jul 2015 14:13:18 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 19287 invoked by uid 99); 7 Jul 2015 14:13:18 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jul 2015 14:13:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id D5B2EC09C6 for ; Tue, 7 Jul 2015 14:13:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.131 X-Spam-Level: *** X-Spam-Status: No, score=3.131 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URI_TRY_3LD=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id GwEW2wXl5il3 for ; Tue, 7 Jul 2015 14:13:11 +0000 (UTC) Received: from mail-ob0-f173.google.com (mail-ob0-f173.google.com [209.85.214.173]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 1B99421616 for ; Tue, 7 Jul 2015 14:13:11 +0000 (UTC) Received: by obbop1 with SMTP id op1so129325551obb.2 for ; Tue, 07 Jul 2015 07:13:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ty4Xk5zB6xWxgGg0m5ZupvkjoanSXW/+az68KJdFn4c=; b=V4YZgI/GBFiA8KGvfFh42343EOaUN1OJJg6px4mwLrdmA9+s6vCc37Yl0Kthk9WVuT cSFBZauIONER0/3QVKDdT+f7CP7n6hC1QwpFvEIGUIcN2HvAzXYsvJWV1jek23ymcCFw Z0bRRPM38rGDCEnLHbBx9HERsNMQtelmxQ64ajkKxko/ePPxdL/MIQ39apZirBwSm3DE GuTUKbLy17S3aoicrCUmQK0tYXgPl+N2u1KaHDGsSmeojAjY8SOPeP87Jh5CyhDlcC8n WxJkTnLMyiwkGG++jZTnjV0b6neRuGCRfeqlh5hlfpY4vVyc2Tu6uS0h9HxtB9Bkl+ug CXXQ== MIME-Version: 1.0 X-Received: by 10.182.33.67 with SMTP id p3mr4464116obi.69.1436278384341; Tue, 07 Jul 2015 07:13:04 -0700 (PDT) Received: by 10.76.56.20 with HTTP; Tue, 7 Jul 2015 07:13:04 -0700 (PDT) Date: Tue, 7 Jul 2015 08:13:04 -0600 Message-ID: Subject: HTML 508 error with container authentication and virtual host From: David Hoffer To: Tomcat Users List Content-Type: multipart/alternative; boundary=001a11c1e8d0e5bcf7051a499e9e --001a11c1e8d0e5bcf7051a499e9e Content-Type: text/plain; charset=UTF-8 I've added FORM container authentication with Tomcat and everything works fine as long as users use the full URL to the app (URL in Tomcat's manager app). However users want to use a different URL based on a virtual host, e.g. myapp.mycompany.com. It brings the users to the app no problem but then when they try to login Tomcat reports a 508 error, how do I solve this? The URL in the browser when this happens is myapp.mycompany.com/j_security_check -Dave --001a11c1e8d0e5bcf7051a499e9e--