Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 223545
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T19:13:53+00:00 2026-05-11T19:13:53+00:00

How do I configure Apache to forward a URLa of a certain extension, say

  • 0

How do I configure Apache to forward a URLa of a certain extension, say *.htm to my Servlet container, in this case, Resin, without first checking for the file’s existence.

Currently, if Apache can not find the requested file in the directory structure, it serves a 404, even though my web.xml Servlet mapping would handle the request if forwarded.

I’ve temporarily resorted to placing an empty file matching the requested file within my web structure (i.e. c:/dir/dir/index.htm) so that Apache forwards the request.

Resin’s Apache configuration is a bit different than Tomcat’s (below), however the problem seems to exist entirely within Apache since the request never makes it to Resin.

Help would be greatly appreciated.

LoadModule caucho_module c:/resin-pro/win32/apache-2.0/mod_caucho.dll

NameVirtualHost *

<VirtualHost *>
    ServerName sub.domain.com
    DocumentRoot c:/web
    ResinConfigServer sub.domain.com 6802
</VirtualHost>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T19:13:53+00:00Added an answer on May 11, 2026 at 7:13 pm

    You need to read How the Plugins Dispatch to Resin and explicitly configure the URLs you want to be handled by Resin to be forwarded to Resin:

    mod_caucho discovers its configuration by contacting the ResinConfigServer specified
    in the httpd.conf or resin.ini. The ResinConfigServer can be any Resin server. When a
    user requests a URL, mod_caucho uses the configuration it has determined from the
    ResinConfigServer to determine whether Resin or Apache should handle the request.
    That decision is based on the configuration in the ResinConfigServer’s resin.conf.

    This means if you want certain URLs to be handled by Resin, you need to configure it this way in your resin.conf.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to configure an apache server using mod_wsgi for dynamic mass hosting.
I have an apache webserver serving 2 URLs. I use VirtualHosts to configure it
I have installed apache-tomcat-6.0.35-windows-x86 in my system. How can I configure it and set
First, I have svn configured to be accessible via apache DAV. Then I have
How can I configure Apache XML-RPC to log to a file instead of the
I would like to configure apache php5 in a way that .css and .js
I'm trying to configure Apache 2.2 from ports (in FreeBSD). I've written my own
I compile Apache-MySQL-PHP by hand to build a custom install using the configure options
I am running a NodeJS app on apache and using mod_proxy to forward requests
This is my first rails app deploy, so please forgive me if the solution

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.