Reply
SSI relative paths
Old 06-03-2003, 10:52 PM SSI relative paths
Junior Talker

Posts: 1
How can I use relative paths with .shtml?

I have .shtml file in www.server.com/dir/file.shtml and I want #include file from www.server.com.

Is this possible with SSI?
altrash is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 06-04-2003, 07:38 AM
david's Avatar
King Spam Talker

Posts: 1,314
Location: Glasgow, UK
Well, it's not actually a relative part but to include a file from server.com you would use:
Code:
<!--#include virtual="/myfile.txt" -->
__________________
Free Webmaster Help - Everything a webmaster needs - for free
Free-Webhosting.info - Free web hosts reviewed and rated
Web Hosting Hunt - Impartial hosting directory - Add your host today for FREE
david is offline
Reply With Quote
View Public Profile Visit david's homepage!
 
Old 06-04-2003, 09:18 AM
dk01's Avatar
Ultra Talker

Posts: 373
Location: Ames, IA
Its absolute
-dk
__________________
Did I help you? If so, be nice and throw me some TP
dk01 is offline
Reply With Quote
View Public Profile Visit dk01's homepage!
 
Reply     « Reply to SSI relative paths
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12680 seconds with 12 queries