why base tag does not work for relative paths?
问题 I have a BASE tag as below in head section of the page: <base href="http://localhost/framework"> And a script as below which is relative (of course after base tag): <script src="/assets/jquery-1.7.1.min.js"> But when I open jQuery from firebug it shows: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> Blah Blah Blah.... When I use the below link it's OK though: <script src="http://localhost/framework/assets/jquery-1.7.1.min.js"> I