Score:0

AJP failing rewriting urls

jp flag
cp.

I had an Apache-ajp-tomcat(app:mysite) configuration working and somehow I changed something and it is now not working. The urls are being rewritten mysite.net/mysite/login When before it was working it was rewriting it as mysite.net/login. I have the fw rules in place, I have the connector for TC configured as shown. In the mods_enabled there is both proxy.load and proxy_ajp.load. What am I missing?

#UseCanonicalName On
<VirtualHost  190.92.111.111:80>
 
        ProxyRequests off
        ProxyPreserveHost On
        ServerName www.mysite.net
    ServerAlias mysite.net
    
 
        ServerAdmin admin@localhost

        ProxyPass /       ajp://mysite.net:9009/edieasy/ secret=123
        ProxyPassReverse / ajp://mysite.net:9009/

        LogLevel warn
 
        ErrorLog ${APACHE_LOG_DIR}/mysite.net_error.log
        CustomLog ${APACHE_LOG_DIR}/mysite.net_access.log combined
 
</VirtualHost>

from TC server.xml

 <Connector port="9009" enableLookups="false" redirectPort="8443" 
                 protocol="AJP/1.3" address="190.92.148.182" minSpareThreads="25" maxThreads="600" 
                 backlog="0" connectionTimeout="20000" packetSize="65536" maxPostSize="65536" 
                 secret="123" allowedRequestAttributesPattern=".*"
                 />
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.