For the whole server...

Sent from my iPhone

> On Apr 25, 2018, at 7:06 PM, Christopher Schultz 
> <ch...@christopherschultz.net> wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> Anexandre,
> 
>> On 4/25/18 6:23 PM, Alexandre Adao wrote:
>> What will be the easiest way to customize page error 404 running
>> Apache Tomcat 9.0.6?  I have tried some links such as 
>> https://serverfault.com/questions/254102/custom-error-pages-on-apache-
> tomcat
>> 
>> 
> and didn't work.
>> 
>> I am running on Windows Server 2016 at the moment. My default
>> directory is: C:\Program Files\Apache Software Foundation\Tomcat
>> 9.0.6. Which web.xml needs to be changed?  ..\conf or ..\weapps ?
>> How can I customize the error page 404?
> 
> Do you want to customize the 404 response page for your web
> application (e.g. /myapp/no-such-resource) or for the whole server
> (e.g. /no-such-context/no-such-resource)?
> 
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
> 
> iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlrhCekACgkQHPApP6U8
> pFgyqA//ZrKXhD6uD+Wp17zBaacL/0pseT6S2vq8oreant04PCcKTpERQeyM0iM5
> mp1K7PiUw5pA5WEQxwAt8L13lT3c2UvnW6EsIhsW9HjF3S/WEoU8csKXdS/m0jbl
> 9KaCPBhz10C1MaMR0IWfGHQkf2dKv7a4GcI75ZpNKLutuyiKGB+K+suTdiuOjV+q
> ZBsEHU5BgD97sAa6IZKCr1Fr0EQgQ/LPCTZzuE0RiZzQPYTW5d3RfVeBkevgoGHF
> fLCTNwjLEQqfBvqCZ5wB14e7LW0ipPXxmOR5/+f1Ka0Qh2KmktTKsQ06jQLc+UTi
> DJUJRkVfBZovh7E3dKPppp5EkrrDLyHI3GuPPPgfa853YkGDx7rJ1+18crqnjKeE
> GI4VoDrM2TSuy4zT+jriJZHrGqIezTuqjZHnwXfCxMmedImalSj1UlokGrly/86U
> XXYgA7QPKrUlgMlgH81e5WJJt9mZSACm4IAYYXml3+5n5EyHlmAXkIQoD0/U2JR3
> 42gn0AuuBtBW2JG/Ry89sVx2PVe8zRfiDul2hDgYHbhP/XVbgBoDKYM9nAr7MshG
> /fyajgCFbaV9Bgtf7Jgydracx34VfzCaeZkyd77cVormnnCriwksGXMzVNjgS8SB
> dhH3QgRiK2WAYiBAGdxdzgE6WrT4wYJZF1NMeyDYdAD2XGvM0Gg=
> =E9Py
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

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

Reply via email to