View Full Version : 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
11-20-2002, 03:26 PM
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...
I ended up using PHP. Never used it before, but it seems pretty cool.
jwgreene
11-21-2002, 02:16 PM
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.
Powered by vBulletin® Version 4.2.3 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.