вс, 21 июл. 2019 г. в 00:09, Richard Huntrods :
>
> I still am having trouble understanding why the web application's
> WEB-INF/web.xml would be the appropriate place to put the change when I
> want to affect ROOT. I would have thought webapps/ROOT/WEB-INF/web.xml
> would have been the correct one.
Richard,
I think the rule goes that you should avoid touching server.xml for
something that web.xml can do.
On Sun, Jul 21, 2019 at 4:40 AM Richard Huntrods wrote:
>
> I apologise for top posting in advance, but just a quick update and
> quicker question...
>
> After Konstantin found my typo, I
I apologise for top posting in advance, but just a quick update and
quicker question...
After Konstantin found my typo, I tried editing the global web.xml file
(/conf/web.xml) . In my case, this is actually the file I want based on
the behaviour described by Konstantin as this entire tomcat instan
Sorry for top-posting. It's the default with my mail program
(thunderbird)...
On 7/20/2019 11:27 AM, Konstantin Kolinko wrote:
> сб, 20 июл. 2019 г. в 17:47, Richard Huntrods :
>> OK. That was really weird.
>>
>> As I said in my message, following the directions on the web did NOT
>> work. It didn
Thanks. However, what I don't understand is why putting that code into the
webapps WEB-INF/web.xml would cause the behaviour I want in ROOT.
Sadly, this is a production server and I can't play with it except after hours.
EDIT. I tried working with web.xml on my development server, and could not
сб, 20 июл. 2019 г. в 17:47, Richard Huntrods :
>
> OK. That was really weird.
>
> As I said in my message, following the directions on the web did NOT
> work. It didn't force redirection from http to https.
>
> What it DID end up doing was to kill the tomcat servlet application.
> Before the chang
Fixed it by brute force.
First, I tried putting the changes ONLY in
../tomcat/webapps/ROOT/WEB-INF/web.xml instead of ../tomcat/conf/web.xml
The good news is that didn't affect the servlet application. The bad
news is now the http://mydomain.com/ started getting the 404 error. So I
undid that and
Richard,
> Am 20.07.2019 um 16:47 schrieb Richard Huntrods :
>
> OK. That was really weird.
>
> As I said in my message, following the directions on the web did NOT
> work. It didn't force redirection from http to https.
>
> What it DID end up doing was to kill the tomcat servlet application.
OK. That was really weird.
As I said in my message, following the directions on the web did NOT
work. It didn't force redirection from http to https.
What it DID end up doing was to kill the tomcat servlet application.
Before the change it was working fine, and after the change it would
only gene
Richard,
> Am 20.07.2019 um 04:19 schrieb Richard Huntrods :
>
> I tried implementing automatic redirection from HTTP to HTTPS on my
> tomcat today, but it's not working.
>
> First, my system:
> OS: Ubuntu 18.04.2 LTS (server)
> Tomcat: 9.0.22 (installed from tomcat distribution, not via apt get
I tried implementing automatic redirection from HTTP to HTTPS on my
tomcat today, but it's not working.
First, my system:
OS: Ubuntu 18.04.2 LTS (server)
Tomcat: 9.0.22 (installed from tomcat distribution, not via apt get)
Java: OpenJDK "11.0.3" 2019-04-16
Mysql: Ver 14.14 Distrib 5.7.26
This web
11 matches
Mail list logo