-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rodro,

On 3/10/2009 7:54 PM, Rodro wrote:
> 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
>   tomcat-docs
>   admin
>   host-manager
>   manager
>
> In which one should I extract the zip file into?

You don't seem to have your own application deployed. Where do you have
your own application deployed? From your previous post, it would seem
that it should be under webapps/ibi_apps, but it's not shown here.

You have two options for deployment of the urlrewrite library:

1. Under the ROOT webapp. Here, you'd map URLs of the form:

   /car(.*)?   ->    /ibi_apps\1


2. Under a new webapp deployed to "/car". Here, you'd use:

   (.*)?      -> /ibi_apps\1

So it depends on how you choose to do your deployment. Did you want to
just make short URLs available to users, or do you actually want all
your URLs to look like "/car" and not change to anything else in the URL
bar of the client's browser?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkm4OMwACgkQ9CaO5/Lv0PAb5gCgvrrG4juKjMkEzq616ZgHP5vr
ICAAnRstEVN8QPTII7Zzt0j1V5PNpnWW
=d781
-----END PGP SIGNATURE-----

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

Reply via email to