Re: Filtering URL via tomcat

2009-05-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ravi, On 5/1/2009 7:36 PM, Ravi Sharma wrote: > I wanted to server these pages only to registered user of my site so i put > one filter in web.xml of my application > > DownLoadSecurityFilter > com.app.security.SecurityFilter >

Re: Filtering URL via tomcat

2009-05-01 Thread Ravi Sharma
Hi All, I guess i did not explained it properly. Let me try once again in simple way. Forget about what i wrote before. my Webapps dir have one application called app and has following dir structure webapps/app/audio/download/ above dir contacins html pages which are being generated by tomcat wh

Re: Filtering URL via tomcat

2009-05-01 Thread Christopher Schultz
-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 a

Re: Filtering URL via tomcat

2009-04-27 Thread Ravi Sharma
adding to previoius mail. 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 req

Re: Filtering URL via tomcat

2009-04-27 Thread André Warnier
Ravi, First : > so basically if i try to access any thing with > http://www.mysite.com/app/audio, it should be served from audio dir in > webapps which in turn audio dir from appache httpd. > > But its not working. :( > "its not working" is not something that allows anyone to help you. HOW is i

Filtering URL via tomcat

2009-04-27 Thread Ravi Sharma
Hi All, Please help me for this problem, i am not able to get to the root of the problem. My site have few open/free pages which can be accessed by anyone/guests and few only for registered users. So you can access those pages only by login to the site http://www.mysiste.com/audio/abc.html (anyon