-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ravi,
Some things aren't adding up: > http://www.mysiste.com/audio/abc.html (anyone/guests can see this page) > http://www.mysiste.com/audio/app/download/abc.html (only logged in user can > see this page) ...and... > the root of my site reside in appache httpd server > so i have folder structure like > mysite/public_html/audio > mysite/public_html/app/audio/download > > in my httpd conf i have something like this > JkMount /app/audio/download/* ajp13w You have JkMounted /app/audio/download but your URLs above suggest this should be /audio/app/download/abc.html. That's strange. You have your webapp in a directory called "mysite" but the context name is "app". That's strange. On 4/27/2009 2:26 PM, Ravi Sharma wrote: > http://www.mysite.com/audio/abc.html is a html being served by httpd > correctly > then when i try to access > http://www.mysite.com/app/audio/download/abc.htmli get following error > on browser > > *Type* Status report > *message* */app/audio/download/abc.html > **description* *The requested resource (/app/audio/download/abc.html) is not > available.** Sounds like this is a Tomcat error. Are you attempting to serve /app/audio/download/abc.html from within Tomcat? If so, is that file (abc.html) actually deployed as part of the web application? I think it would be helpful to post more of your httpd configuration and the output of 'find' in your webapp's root directory. Another question: why are you implementing your own authentication and authorization instead of using those built-in features of Tomcat? Seems like re-inventing the wheel... > There are no errors in catalina.out(and this is the only file in logs dir of > Tomcat) catalina.out will not contain errors like "file not found". If you want to see what requests are being served, you'll want to enable the AccessLogValve. See http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html for details. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkn7IRUACgkQ9CaO5/Lv0PALDwCgiiLbGQ3m1VbcnqUp2cWGtCZR 1HsAn11gsfaTF1DxL9xd3/QMRiVaqhFH =aPN/ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org