RE: Base tag
by Klaas De Waele <klaas(at)grace.be>
|
| Date: |
Fri, 7 Mar 2003 09:46:14 +0100 |
| To: |
"'Mike H'" <ironmike(at)inav.net>, hwg-techniques(at)hwg.org |
| |
todo: View
Thread,
Original
|
|
ORIGINAL:
Soo... what you're saying -- in effect -- is that use of the base tag
requires us to use absolute addressing, but using the page on
which the base tag appears as the origin of the addressing system instead of
the server root directory. ??
If the above is correct, does it also mean that the base tag should be used
one time only, on the 'entry' or top-level page of a
site's directory tree, and that pages on the same server but outside the
directory tree below the base tag could not be accessed
except by fully qualified external links...right??
REPLY:
Wow - you really think too much! ;) :)
Using the base tag doesn't require absolute addressing. If you set the tag
to for example "/images", you can still set your link to be "../index.htm" -
it just calculates it not from the page you're in, but from the set base
location.
And no, it's not some kind of security system that will users disallow
access from any subdirectories, and the browser also doesn't remember it as
some sort of cookie or session variable - you have to set it in every page
you want that feature to be active. For security use .htaccess files or
windows basic authentication.
- Kayjey -
www.fiatcoupe.net
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.