SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: SSI confusion

  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2000
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1. When your using SSi when do you use file and when do you use virtual.
    2. I'm using SSI to include the menu for my site
    <!--#include answer_to_number_one="menu.txt" -->
    it works fine when your in the same directory as menu.txt, but when you go into a differnet one its gone. I'm was sure I needed the full URL in there for it to work so I tried it.....didn't work....so I then thought maybe it was the absolute path I needed......didn't work......
    I think I've tried every possible combination except the right one!

    Pleas help!

  2. #2
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it should be

    <!--#include virtual="/whatever.htm" -->

    then you give it the path to the file.
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •