Dear Chuck.
I tried to implement #2 as you suggested, using urlrewrite as in
http://tuckey.org/urlrewrite/manual/2.6
Under "Install" I see on STEP 1:    “Download the zip (or tar.gz) and
extract it into your context'sdirectory ie, so that urlrewrite.xml goes into
the WEB-INF directory”. 

However, looking into my file directory I found 6 WEB-INF directories:
C:\Archivos de programa\Apache Software Foundation\Tomcat 5.5\webapps\ROOT
C:\Archivos de programa\Apache Software Foundation\Tomcat
5.5\webapps\tomcat-docs
C:\Archivos de programa\Apache Software Foundation\Tomcat
5.5\server\webapps\admin
C:\Archivos de programa\Apache Software Foundation\Tomcat
5.5\server\webapps\host-manager
C:\Archivos de programa\Apache Software Foundation\Tomcat
5.5\server\webapps\manager
C:\Archivos de programa\Apache Software Foundation\Tomcat
5.5\webapps\tomcat-docs\appdev\sample\web 

In which one should I extract the zip file into?
Thanks and regards.
Rodrigo.


Caldarale, Charles R wrote:
> 
>> From: Rodro [mailto:rodrigo_alle...@ibi.com]
>> Subject: Tomcat URL masking question...
>>
>> I execute (call) an app with the following URL:
>> http://localhost:8080/ibi_apps/WFServlet?IBIF_ex=carinst
>> (see the attached image)
>>
>> Now, I need to mask the URL to get the same result calling the app as:
>> http://localhost:8080/car
> 
> It's not "masking" by any usual definition that you want.
> 
> You have a couple of easy choices:
> 
> 1) Deploy a webapp named "car" that does a redirect or forward to the
> desired URL.
> 
> 2) Implement a filter in your default webapp that is triggered by the /car
> <url-pattern> that does the redirect or forward.
> 
> You may find this useful as a variation of #2:
> http://tuckey.org/urlrewrite/
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-URL-masking-question...-tp22378836p22446181.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to