Hi,
I am working on Struts and I have configured my struts application on Tomcat 4.0 running on
Windows 2000 and its working fine. I have changed the extension of struts files from *.do to
*.abc for testing purpose. And even this is working fine.
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.abc</url-pattern>
</servlet-mapping>
I now uploaded the struts files to remote Linux server that is having Apache Web server configured with Tomcat. So any request is first handled by Apache web server.
If I enter any URL http://myhost.com/test1.abc I get 404 File not found but the same was working in my machine(Windows + Tomcat).
I do not know about Apache web server. Can someone throw some light on me to what needs to be done to make this app work? Do I have to configure anything on Apache to support *.abc extensions? Please let me know how to do it.
Thanks
Uma
Discussions
Web tier: servlets, JSP, Web frameworks: Configuring struts file extensions in Apache web server
-
Configuring struts file extensions in Apache web server (1 messages)
- Posted by: Uma Maheswar Kalluru
- Posted on: January 18 2005 05:00 EST
Threaded Messages (1)
- Configuring struts file extensions in Apache web server by zhao zhenhua on January 19 2005 02:59 EST
-
Configuring struts file extensions in Apache web server[ Go to top ]
- Posted by: zhao zhenhua
- Posted on: January 19 2005 02:59 EST
- in response to Uma Maheswar Kalluru
You should tell Apache to push *.abc to servlet container.
For example,append "[uri:/*.abc]" to worker2.properties if u use jk2,tomcat,apache.