On Thu, 05 Aug 2004 23:29:50 +0200, Brian Foster
<blf at blf.utvinternet.co.uk> wrote:
> | Date: Thu, 05 Aug 2004 12:46:13 +0100
> | From: Donncha O Caoimh <donncha at linux.ie>
> |
> | It can be done with html frames. Your site is simply the only frame
> | [ shown ]. Check http://donncha.ocaoimh.org/ for another one..
>> obfuscates yes, hides no: I can look at the
> source to the page/frame and see yer real URL.
> it is http://blogs.linux.ie/xeer/ ;-)
you could do it with a bit of misdirection.
in a .htaccess, redirect all 404s to /404.php, and turn off auto-indexing
in 404.php, take the REQUEST_URI, remove the requested domain, and
replace with the real prefix
file_exists() the amended URI. If the file exists, return a 200 OK
message and fpassthru() the file. If not, send a 404 and display your
404 message, or 302 and redirect to the front page.
or something like that
of course, why anyone would have their site hosted at
http://crapdomainname.com/reallyawfulsubdirectory/ourwebsite/ when
they own http://appropriatename.ie/ is well beyond my fragile little
mind.
Kae
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!