Server Side Includes (SSI) is a simple interpreted server-side scripting language used almost exclusively for the Web. The most frequent use of SSI is to include the contents of one or more files into a web page on a web server.
I am using nginx for caching requests from the upstream apache server, however I want few blocks inside to be fetched from apache all the time. I am hoping ssi can do this, but the SSI tags are outputted to the user without being preprocessed.
…
I'm attempting to set up Apache such that various error pages display with headers/footers appropriate to the context of the error. If the user was requesting a corporate page, I want to show the error with the corporate look and feel. If the error…
I use MAMP to develop sites. I have each site in it's own folder in the htdocs folder. I manage one site that I need to use ssi directives on, because the host doesn't allow php includes.
I've un-commented these lines in httpd.conf file:
AddType…
I wish to enable SSI's (server-side includes) on my HTML pages on GoDaddy.
I want lines like this to be processed properly:
Is this possible and how can it be done?
I'm currently trying to fancy up my directory index a little - To do so, I already managed to create a decent layout around the created table - But now, I need to add some scripting, too.
As I'm most familiar with PHP, I figured I could just replace…
I have an html page with SSI and I was trying for enabling SSI in my apache (V 2.4.18) running on Ubuntu 16.04. As per the guidelines here, I tried editing /etc/apache2/apache2.conf file and now included following directives,
I am using Apache 2 on a virtual machine running a LAMP stack (mysql version 5.6). When I try to restart the server I am getting this error;
DBD: Can't load driver file apr_dbd_mysql.so
I have made sure that the apr_dbd_mysql.so file is inside the…
I've got a really old website I'd like try running on NGINX instead of Apache. This site consists of many flat HTML files with sporadic PHP SSIs, such as:
How does does the NGINX HttpSsiModule handle these…
I am using Nginx's proxy cache for our dynamic pages and have recently integrated ssi. The first page load works fine but once the page is cached and another request comes through the page just hangs.
The logs seem to indicate multiple sub-requests…
I have a legacy website in which .HTML, .ASP, and .INC files are being used. Problem is all pages have VBScript code not parsed by IIS and thus written on page as static text. I want to fix it. All .html pages include both .ASP and .INC for…
SERVER: Linux CENTOS 6
PLESK 10.4.4
I have been installing Wordpress on many subdomains on our dedicated server. All of them run CRON jobs every 10 minutes.
Long story short, the time to load first byte was getting to over 10 seconds.
I did some…
I have some old html pages that have SSI includes in them to include certain html in all the pages.
So, the SSI looks something like this:
But I want to move that included file from…
Which of these 2 is easier/faster for a Linux server running Apache to process?
A) A symlink pointing to a php file:
file-sym.php ---> file-orig.php
B) A PHP file (file-inc.php) including another PHP file (file-orig.php) like so:
Contents of…
I followed Windows instructions, and turned on several parts of IIS. But http://localhost isn't working, and I don't see the IIS entry in Administrative Tools either.
I only want to use SSI, not ASP(.net) or FTP. What should I check and why isn't it…