SSI - virtual and file???

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
mythix
-


Joined: 13 Jun 2002
Posts: 20
Location: UK - Frome

PostPosted: Mon May 19, 2003 11:47 am    Post subject: SSI - virtual and file??? Reply with quote

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 View user's profile Send private message Send e-mail Visit poster's website
mythix
-


Joined: 13 Jun 2002
Posts: 20
Location: UK - Frome

PostPosted: Mon May 19, 2003 11:50 am    Post subject: Reply with quote

Ignore me, have just looked it up else where
Back to top View user's profile Send private message Send e-mail Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Mon May 19, 2003 5:42 pm    Post subject: Re: SSI - virtual and file??? Reply with quote

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 View user's profile Send private message Send e-mail
mythix
-


Joined: 13 Jun 2002
Posts: 20
Location: UK - Frome

PostPosted: Tue May 20, 2003 8:54 am    Post subject: Reply with quote

Quote:
all the files on your web site

Does this include all files on the webserver? or just for that site?
Back to top View user's profile Send private message Send e-mail Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue May 20, 2003 10:37 pm    Post subject: Reply with quote

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 View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group