I believe that Apache handles the html files. I think this is true cause my colleague implemented basic authentication in apache by modifying the "httpd" and "a.htaccess" files, but the authentication works only for the html files of the application.
In other words, the authentication i did in...
Thanks,
I already tried to modify tomcat.conf and added the
AddType text/html .html
but it didn't work.It seems that the modification must be done in the server.xml or somewhere in the Apache server configuration files.
SERVER.XML
<!-- Loaded last since JSP's that load-on-startup use...
Yes, no matter what page I set as welcome-page doesn't appear.The default page remains the index.html
Another thing I forgot to mention is that this application uses Apache Server as well. I am under the impression that the role of the web server is assigned to Apache and Tomcat handles only...
--------------------------------------------------------------------------------
Hi,
I am trying to add some security features to an already developed web application. The problem is that I have modified the web.xml but the basic authorization doesn't work for 1 file..and that's the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.