Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I've created a .html footer file with black background which should show up in the webpage.But when I access the page,the place(footer part) in the webpage where I should get a black background returns me a http 404 error code
HTTP Status 404- /footer/footer.html
type status report
description The requested resource (/footer/footer.html) is not availble).
So,is that something to do with the file access permissions that tomcat is failing to get??
Is the footer file contained within a folder called footer ?
If so, is that folder one under the level of the document root ?
Remember that /anything means in the document root ...
Unless the directory footer is in the folder /www/html/footer (or equivalent) then the path to that folder is wrong and 404 is a natural response. Don't look for problems where things are not in the correct place.
This isn't a tomcat error, it is a straight-forward apache error.
Well if you give that file identical permissions as the I_footer file then you can find out.
Personally, I would imagine that tomcat only sees the I_footer file as the valid file to include. You could try renaming your footer to I_footer2.html and give it the same permissions as I_footer.html. But it is just easier to replace the contents of I_footer with the contents of your footer file.