tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrián Córdoba <adr.cord...@gmail.com>
Subject Re: Tomcat behind Apache and security-constraint
Date Fri, 22 Jul 2011 12:21:57 GMT
Igor:
  mod_jk log file is configured, but nothing relevant is loged.
  Thank you.
--
[Adrián Córdoba]



2011/7/21 Igor Cicimov <icicimov@gmail.com>

> Configure a mod_jk log file and see whats going on there
>
> On Jul 22, 2011 10:37 AM, "Adrián Córdoba" <adr.cordoba@gmail.com> wrote:
>
> Well...
> 1- I delete the "Directory" section from httpd.conf file.
> 2- I add "JkMount  /Andromeda worker1" to the virtual host.
> 3- I add dynamic content to index.jsp page
> So I proved the content is served by Tomcat. But I have the same problem: I
> cannot view the content of protected section of my web application through
> Apache web server.
>
> If I access directly to Tomcat (skipping httpd), I can see the protected
> content.
>
> Access log in httpd is:
> ------------------------------------------------------
> ::1 - - [21/Jul/2011:21:27:18 -0300] "GET /Andromeda/ HTTP/1.1" 200 669 "-"
> "Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.30 (KHTML, like Gecko)
> Chrome/12.0.742.124 Safari/534.30"
> ::1 - - [21/Jul/2011:21:27:21 -0300] "GET /Andromeda/ HTTP/1.1" 200 669 "-"
> "Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.30 (KHTML, like Gecko)
> Chrome/12.0.742.124 Safari/534.30"
> ::1 - - [21/Jul/2011:21:27:21 -0300] "GET /Andromeda/StyleSheet.css
> HTTP/1.1" 304 - "http://localhost/Andromeda/" "Mozilla/5.0 (X11; Linux
> i686)
> AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.124 Safari/534.30"
> ::1 - - [21/Jul/2011:21:27:22 -0300] "GET /Andromeda/ HTTP/1.1" 200 669 "-"
> "Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.30 (KHTML, like Gecko)
> Chrome/12.0.742.124 Safari/534.30"
> ::1 - - [21/Jul/2011:21:27:22 -0300] "GET /Andromeda/StyleSheet.css
> HTTP/1.1" 304 - "http://localhost/Andromeda/" "Mozilla/5.0 (X11; Linux
> i686)
> AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.124 Safari/534.30"
> ::1 - - [21/Jul/2011:21:27:24 -0300] "GET /Andromeda/internal/internal.jsp
> HTTP/1.1" 200 782 "http://localhost/Andromeda/" "Mozilla/5.0 (X11; Linux
> i686) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.124
> Safari/534.30"
> ::1 - - [21/Jul/2011:21:27:41 -0300] "GET
> /Andromeda/internal/j_security_check HTTP/1.1" 200 433 "-" "Mozilla/5.0
> (X11; Linux i686) AppleWebKit/534.30 (KHTML, like Gecko)
> Chrome/12.0.742.124
> Safari/534.30"
> ::1 - - [21/Jul/2011:21:29:46 -0300] "GET /Andromeda/internal/internal.jsp
> HTTP/1.1" 200 782 "http://localhost/Andromeda/" "Mozilla/5.0 (X11; Linux
> i686) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.124
> Safari/534.30"
> ::1 - - [21/Jul/2011:21:29:50 -0300] "GET /Andromeda/ HTTP/1.1" 200 669 "-"
> "Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.30 (KHTML, like Gecko)
> Chrome/12.0.742.124 Safari/534.30"
> ::1 - - [21/Jul/2011:21:29:50 -0300] "GET /Andromeda/StyleSheet.css
> HTTP/1.1" 304 - "http://localhost/Andromeda/" "Mozilla/5.0 (X11; Linux
> i686)
> AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.124 Safari/534.30"
> ::1 - - [21/Jul/2011:21:29:53 -0300] "GET /Andromeda/internal/internal.jsp
> HTTP/1.1" 200 782 "http://localhost/Andromeda/" "Mozilla/5.0 (X11; Linux
> i686) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.124
> Safari/534.30"
> ------------------------------------------------------
>
> Thank you, very much. -- [Adrián Córdoba] 2011/7/21 André Warnier <
> aw@ice-sa.com>
>
> > Christopher Schultz wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >>
> Hash: SHA1 >> >> Adrián, >> ...
> >> GET http://localhost/Andromeda/**META-INF/context.xml<
> http://localhost/Andromeda/META-INF/context.xml>
>
> >> >> (or maybe GET
> http://localhost/Andromeda/**WebContent/META-INF/context.**
> >> xml <http://localhost/Andromeda/WebContent/META-INF/context.xml>
>
> >> - - it's really hard to understand what your appbase really is). >> >>
> If
> you have a container-ma...
> > apache.html<
> http://tomcat.apache.org/connectors-doc/reference/apache.html>
>
> > The section "Using SetHandler and Environment Variables" > > Now, if you
> really want to know what ...
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.**apache.org<
> users-unsubscribe@tomcat.apache.org>
>
> > For additional commands, e-mail: users-help@tomcat.apache.org > >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message