It sounds like your looking to do something very similar to Jeremy in this thread...
[webmasterworld.com...]
HTH
[hotwired.lycos.com...]
[wdvl.com...]
Look specfically for the include virtual=" " function which will allow you to place a file at one location and include it from another place on the server. As in the file index.html at www.example.com/ has an SSI that links to www.example.com/pub/data/index.txt for a portion of its contents. This is real handy to create site wide navigation menus etc.
check it out.
This one. In the index.html file, whereever you want the content from the virtual include to appear (you can have multiple includes). Put this line
<!--#include virtual="/html/june/index.html" -->
most times I use a different ext like .inc or .nav something to id it to me at a later date. It doesn't have to be a full HTML page, snippets of code work fine.
How would www.domain.com/virtual (virtual url)
know to point to www.domain.com/html/june/index.html using this <!--#include virtual="/html/june/index.html" --> ?
I do not have direct access to the server so I can't modify the dns (ie. virtual.domain.com)
Let me know if you want a sticky note to help clarify it more.
Thanks for your help
And I'm calling off all bets after rereading your post. Is it a subdomain in the form of sub.domain.com or just a sub directory of the base domain? www.domain.com/sub ?> Think I'm beginning too confuse myself, so I'll wait for answers to confuse me more ;)
Your best bet is to keep it simple and basically use a redirect from
www.yourdomain/shortcut/
to
www.yourdomain/confusing/levels/of/obfuscation/page.html
To do this I recommend making a directory in the base level of your site (where your index.html lives). In this directory make a page called index.html (or whatever your server returns - eg. home.htm, default.htm etc).
Put this content in your html.
<html>
<head>
<meta http-equiv="Refresh" content="0;url=http://yourdomain/confusing/path/page.htm">
<title>Redirect</title>
</head>
<body><a href='http://yourdomain/confusing/path/page.htm'>Please Click here</a></body>
</html>
You should be aware that this is probably the simplest way to do this, there are hundreds of other ways (some are simpler but need more than basic html - server configuration and .htaccess type things.)
Good luck and hope this helps
Gethan
Yes - and then www.domain.com/customurl/index.html would direct you to your final destination.
> Any ideas where I can find the virtual URL htacess scripts?
There is no such thing ... .htaccess is a configuration file for apache.