get rid of trailing slash on tomcat URL

Posted on 2007-10-06
Last Modified: 2012-08-13
I have just successfully connected apache and tomcat. One minor detail. For non-jsp regular ole html files and can specify:

and it will run index.html in that directory. For tomcat, I can only specify:
I can't leave off the trailing slash. How to I do this? In my httpd.conf I have:
JkMount  /ohprs/* worker1
do I modify this? Add another line? (apache 1.3.33. tomcat 6.0.14, linux slackware 2.4.29)

Question by:jmarkfoley
    LVL 15

    Accepted Solution

    most likely you need to add another line

    --- estract from the above link:
        # JSPWiki - the 2nd line eliminates the need for a
        # trailing slash on the URL
        JkMount /wiki/* ajp13
        JkMount /wiki ajp13

    Some other links that has similar examples:

    LVL 1

    Author Comment

    Yup - that worked! I thought about that, but was too cowardly to try!
    LVL 15

    Expert Comment

    not a problem at all. cheers :)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
    In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now