"Tabu Isiaka" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hi,
>
> I'm trying to connect Apache2.2 with Tomcat5 by using mod_proxy_ajp.
> each time I'm trying to access a jsp page (ex www.abc.com/def/index.jsp)
> I receive the following page (with directives):
>
> <%@ page language="java" pageEncoding="UTF-8"%> <%@ page
> import="java.util.Locale"%> <%@ taglib
> uri="http://jakarta.apache.org/struts/tags-bean"; prefix="bean" %> <%@
> taglib uri="http://jakarta.apache.org/struts/tags-html"; prefix="html" %>
> <%@ taglib uri="http://jakarta.apache.org/struts/tags-logic";
> prefix="logic" %> <%@ taglib
> uri="http://jakarta.apache.org/struts/tags-tiles"; prefix="tiles" %> <%@
> taglib uri="http://jakarta.apache.org/struts/tags-template";
> prefix="template" %> <%@ taglib
> uri="http://jakarta.apache.org/struts/tags-nested"; prefix="nested" %> <%
> @ taglib uri="http://java.sun.com/jsp/jstl/fmt"; prefix="fmt"%> <%@
> taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c"%>
>
> Thanks to give me hands.
> Tabu Isiaka
> **************************** PROXY_AJP_.CONF ***************************
>
> ProxyPass /contact/*.jsp ajp://localhost:8080/contact/
> ProxyPassReverse /contact/*.jsp ajp://localhost:8080/contact/
>

This type of mapping isn't currently supported by mod_proxy.  You need 
something like:
   RewriteRule ^/contact/(.*)\.jsp ajp://localhost:8009/contact/$1.jsp [P]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to