Results 1 to 4 of 4

Thread: Apache Server Help

  1. #1

    Apache Server Help

    Hi, I'm running Apache HTTP Server 2.0.43. I've got it running on a windows 2k machine. I'll be switching over to unix at some point soon probably. Anyway, does anyone know how to do SSIs? I have a file in "D:/wwwroot/counter" called top.txt that has the header to most .asp and .html pages on my site in "D:/wwwroot". Currently, in the .asp or .html file, when I want to call the include, I say: %lt!--#include file="counter/top.txt"--%gt

    Thanks,
    Eric

  2. #2
    Join Date
    Oct 2000
    Location
    Las Vegas, NV
    Posts
    7,105
    Um, I think you do your server side includes in your asp's or cgi's... not in the html. I've only done SSI's using PERL/CGI's... I'd imagine similar to other stuff.

    But otherwise... your SSI call looks similar to what you'd put in a CGI so...

  3. #3
    I ended up using PHP. Never used it before, but it seems pretty cool.

  4. #4
    Join Date
    Aug 2002
    Location
    Maine
    Posts
    100
    You can do it in html as well. Just have to make a few modifications to your apache config. Make sure ExecCGI is turned on for the dir the file exsists in.

Posting Permissions

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