View previous topic :: View next topic |
Author |
Message |
mythix -
Joined: 13 Jun 2002 Posts: 20 Location: UK - Frome
|
Posted: Mon May 19, 2003 11:47 am Post subject: SSI - virtual and file??? |
|
|
Hi,
I'm a little confused about SSI in Abyss. the documentation describes two ways of using #include. The first says that the file must be in the same or a sub directory of the file your calling from. IS this also true of virtual??? what is the actual difference between the two?
Thanks:
#include
Form 1: <!-- #include file="file_name" -->
#include file instructs the web server to insert a file which must contain valid HTML contents. file_name is a relative path from the directory containing the processed SSI file. The included file can only be in the same directory or in one of its subdirectories.
Form 2: <!-- #include virtual="virt_path" -->
#include virtual inserts the content resulting from requesting virt_path from the server. If virt_path is a static file, its contents will be included "as is". If it is a CGI script or a SSI file, it is evaluated by the server and the results are inserted. virt_path must contain or generate valid HTML content. |
|
Back to top |
|
|
mythix -
Joined: 13 Jun 2002 Posts: 20 Location: UK - Frome
|
Posted: Mon May 19, 2003 11:50 am Post subject: |
|
|
Ignore me, have just looked it up else where |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Mon May 19, 2003 5:42 pm Post subject: Re: SSI - virtual and file??? |
|
|
No, include virtual can give access to all the files on your web site, you can for example include something like <!-- #include virtual="/page.html" --> in a SSI page located at /dir1/dir2/ssipage.shtml . _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
mythix -
Joined: 13 Jun 2002 Posts: 20 Location: UK - Frome
|
Posted: Tue May 20, 2003 8:54 am Post subject: |
|
|
Quote: | all the files on your web site |
Does this include all files on the webserver? or just for that site? |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue May 20, 2003 10:37 pm Post subject: |
|
|
mythix wrote: | Quote: | all the files on your web site |
Does this include all files on the webserver? or just for that site? |
That can includes all the files that you can browse on your web server (which is similar to your site since Abyss Web Server hosts only a single web site). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|