Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Apache redirect url in httpd.conf

807605Oct 2 2007
Hello everyone,
i have problem with security on my server.I have integrated tomcat and apache so that my server run on port 80.
i have deployed my application on tomcat.And i have basic authentication in my web.xml for one page.
my problem is when request comes for http//www.localhost/xyz.html it prompts for the username and password but when request comes for http//www.localhost/?command=xyz.html it doesn't prompt for username and password.
Is there any possible way that i can redirect the url http//www.localhost/?command=xyz.html to http//www.localhost/xyz.html so that it prompts for the username and password.
Any help will be greatly appriciated?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 30 2007
Added on Oct 2 2007
0 comments
346 views