Freepages-Help-L Archives
Archiver > Freepages-Help > 2003-05 > 1054304137
From: Elsi <>
Subject: Re: [FreeHelp] Virtual addresses
Date: Fri, 30 May 2003 09:15:37 -0500
In-Reply-To: <HDEHKHDGGDJKMBJAMKIBMEAMCIAA.midwest@duo-county.com>
At 08:43 AM 5/30/2003 -0400, Michael Slaughter wrote:
>Can someone give me the virtual address to the misc. folder in my web
>site(tttb). I understand I need to use the complete path to assure NN
>processes the css correctly.
Cheryl:
Here's the rub. The #include virtual= syntax will only allow you to
include files from the same 'server'. Your pages in the genealogy_html
directory are located in a different virtual server from those in the
misc_html directory. So, even though you have only one account (userID &
password), you wind up with sites on several virtual
servers. Unfortunately, the SSI syntax treats a virtual server the same as
if it were a real server.
Therefore, you can use #include virtual= to imbed files from another user's
genealogy_html directory into your pages in your own genealogy_html
directory. You cannot #include files across your own xxxx_html directories.
It would have been a good idea to put your standard header & footer files
in your misc_html directory and then imbed them in pages in both the
genealogy_html and family_html directories -- but it just doesn't work that
way.
So, for your css files, you can put them into your misc_html directory, but
you're going to have to reference them in your pages using a full URL
reference like this:
<.link rel=stylesheet
href="http://freepages.rootsweb.com/~myaccount/mycss.css" type="text/css">
I'll have to do some research on the new @import rule to see whether it can
be used in a similar manner.
Regards,
Elsi
This thread:
| Re: [FreeHelp] Virtual addresses by Elsi <> |