SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: Ssi

  1. #1
    SitePoint Member
    Join Date
    May 2001
    Location
    USA
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Ssi

    I am new to webmastering so please help!!!

    I am trying to use SSI to put menus on my pages and everything work fine but

    for example
    when i have page here /web/index.shtml and i put in that page this:
    <!--#include file="cgi-bin/newspro/dusuhtml.txt" -->
    it wont work

    but
    it works fine if that page is here /

    any suggestions how should i deal with this

  2. #2
    Serial Publisher silver trophy aspen's Avatar
    Join Date
    Aug 1999
    Location
    East Lansing, MI USA
    Posts
    12,939
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what is the file path on your server?

    when using include file you are taking a direct path from where the include is called

    when using include virtual you are taking a path from your root
    Chris Beasley - I publish content and ecommerce sites.
    Featured Article: Free Comprehensive SEO Guide
    My Guide to Building a Successful Website
    My Blog|My Webmaster Forums

  3. #3
    Victory shall be mine tubedogg's Avatar
    Join Date
    Mar 2001
    Location
    Medina, OH
    Posts
    440
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    File can only be used when the page is in the same directory as the file you are including. Otherwise you must use virtual.

    Also when running a script you may need exec instead of include.
    Kevin

  4. #4
    SitePoint Member
    Join Date
    May 2001
    Location
    USA
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thank for help
    i tired to use include virtual and it still doesnt work is there anything on web that i can check.

  5. #5
    Victory shall be mine tubedogg's Avatar
    Join Date
    Mar 2001
    Location
    Medina, OH
    Posts
    440
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Kevin


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
  •