Tomcat Mod_CFML error - mod_cfml request authentication failed!

17 views
Skip to first unread message

Leon Dupont

unread,
Oct 21, 2024, 11:26:35 AM10/21/24
to mod_cfml
 I have this error, but the shared key and secret is correct:

in server.xml file:

 <Connector protocol="AJP/1.3"
            port="8009"
            secret="d7d48f0c030c236e387417fd578404b8c9ce1b54b67fcdf2c2a306b8f4f9d4"
            secretRequired="true"
               redirectPort="8443" allowedRequestAttributesPattern=".*"  />

<Valve className="mod_cfml.core"
                loggingEnabled="true"
                maxContexts="200"
                timeBetweenContexts="2000"
                scanClassPaths="false"
                responseCode="307"
                sharedKey="d7d48f0c030c236e387417fd578404b8c9ce1b54b67fcdf2c2a306b8f4f9d4" />
      </Host>

in apache2 conf file:

# Behandle spezifisch .cfm und .cfml Dateien über den HTTP-Port von Tomcat/Lucee

<IfModule mod_headers.c>
   Header set X-Tomcat-DocRoot "%{DOCUMENT_ROOT}e"
   Header set X-Tomcat-Shared-Key "d7d48f0c030c236e387417fd578404b8c9ce1b54b67fcdf2c2a306b8f4f9d4"
</IfModule>

ProxyPreserveHost On
ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ ajp://localhost:8009/$1$2 secret=d7d48f0c030c236e387417fd578404b8c9ce1b54b67fcdf2c2a306b8f4f9d4

# Leite alles andere an den HTTP-Port von Apache weiter, um statische Dateien bereitzustellen
ProxyPassMatch ^/(.+\.html|.+\.css|.+\.js|.+\.png|.+\.jpg|.+\.gif|.+\.ico)$ !
ProxyPass / http://127.0.0.1:8888/
ProxyPassReverse / http://127.0.0.1:8888/

There are no other keys defined.. what can i do?
Reply all
Reply to author
Forward
0 new messages