Apache Server Help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gimp
    Registered User
    • Jan 2001
    • 2368

    #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
  • Miscue
    Super Moderator

    • Oct 2000
    • 7105

    #2
    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...

    Comment

    • gimp
      Registered User
      • Jan 2001
      • 2368

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

      Comment

      • jwgreene
        Supreme High Lord Emperor
        • Aug 2002
        • 100

        #4
        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.

        Comment

        Working...