I'm using Apache 1.3.22 and Tomcat 4.0.2 on Windows NT/2000.

I've a context called WebApp whose docBase="E:\WebApp". So, when I 
point my browser to http://localhost/WebApp/main it will take me to the 
login screen of the application.

There is a folder called "Reports" in my E:\WebApp. Some part of my 
application is using Response.sendRedirect() and displaying the 
requested file (from the Reports folder) to the browser. That's fine. I 
want to show the files from that folder only through the application 
and I have to configure my web server in such a way that it denies 
requests if a User enters the file name manually like 
http://localhost/WebApp/Reports/some-file.xls. Please help me if you 
have a solution for this.

Thanks.
-Surya


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to