-
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
-
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.
-
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
-
Forum Rules