Page 1 of 1

server side includes (SSI) not working

PostPosted: 26. February 2016 17:22
by BBJ
I installed wordpress and it took over everything in xampp so I uninstalled it and now everything seems to be working except SSI.
This is the startup listing.

11:04:16 AM [main] Initializing Control Panel
11:04:16 AM [main] Windows Version: Windows 7 Professional SP1 64-bit
11:04:16 AM [main] XAMPP Version: 5.5.30
11:04:16 AM [main] Control Panel Version: 3.2.2 [ Compiled: Nov 12th 2015 ]
11:04:16 AM [main] Running with Administrator rights - good!
11:04:16 AM [main] XAMPP Installation Directory: "c:\xampp\"
11:04:16 AM [main] Checking for prerequisites
11:04:16 AM [main] All prerequisites found
11:04:16 AM [main] Initializing Modules
11:04:16 AM [Apache] Initializing module...
11:04:16 AM [Apache] Checking for module existence...
11:04:16 AM [Apache] Checking for required tools...
11:04:16 AM [Apache] Checking for service (name="Apache2.4"): Service installed
11:04:16 AM [Apache] Service Path: "C:\xampp\apache\bin\httpd.exe" -k runservice
11:04:16 AM [Apache] Checking default ports...
11:04:16 AM [mysql] Initializing module...
11:04:16 AM [mysql] Checking for module existence...
11:04:16 AM [mysql] Checking for required tools...
11:04:16 AM [mysql] Checking for service (name="mysql"): Service installed
11:04:16 AM [mysql] Service Path: C:\xampp\mysql\bin\mysqld.exe --defaults-file=c:\xampp\mysql\bin\my.ini mysql
11:04:16 AM [mysql] Checking default ports...
11:04:16 AM [filezilla] Initializing module...
11:04:16 AM [filezilla] Checking for module existence...
11:04:16 AM [filezilla] Checking for required tools...
11:04:16 AM [filezilla] Checking for service (name="FileZillaServer"): Service not installed
11:04:16 AM [filezilla] Service Path: Service Not Installed
11:04:16 AM [filezilla] Checking default ports...
11:04:16 AM [mercury] Initializing module...
11:04:16 AM [mercury] Checking for module existence...
11:04:16 AM [mercury] Checking for required tools...
11:04:16 AM [mercury] Checking default ports...
11:04:16 AM [Tomcat] Initializing module...
11:04:16 AM [Tomcat] Checking for module existence...
11:04:16 AM [Tomcat] Checking for required tools...
11:04:16 AM [Tomcat] Checking for service (name="Tomcat7"): Service not installed
11:04:16 AM [Tomcat] Service Path: Service Not Installed
11:04:16 AM [Tomcat] Checking default ports...
11:04:16 AM [main] Enabling autostart for module "Apache"
11:04:16 AM [main] Enabling autostart for module "MySQL"
11:04:16 AM [main] Starting Check-Timer
11:04:16 AM [main] Control Panel Ready
11:04:17 AM [Apache] Autostart active: starting...
11:04:17 AM [Apache] Checking default ports...
11:04:17 AM [Apache] Attempting to start Apache service...
11:04:17 AM [Apache] Executing "net start "Apache2.4""
11:04:17 AM [mysql] Autostart active: starting...
11:04:17 AM [mysql] Checking default ports...
11:04:17 AM [mysql] Attempting to start MySQL service...
11:04:17 AM [mysql] Executing "net start "mysql""
11:04:18 AM [Apache] Status change detected: running
11:04:18 AM [mysql] Status change detected: running
11:04:20 AM [mysql] Return code: 0
11:04:22 AM [Apache] Return code: 0

Thanks for any suggestions

John

Re: server side includes (SSI) not working

PostPosted: 27. February 2016 00:05
by Altrea
SSI only works if the file has the file extension .shtml

Re: server side includes (SSI) not working

PostPosted: 29. February 2016 20:58
by BBJ
server side worked before I installed wordpress and it also works on my laptop using html files

Re: server side includes (SSI) not working

PostPosted: 29. February 2016 23:00
by gsmith
/xampp/apache/conf/httpd.conf
way on down the file:

AddType text/html .shtml .html
AddOutputFilter INCLUDES .shtml .html

I'm sure yours is missing the .html at the end of each line.

Re: server side includes (SSI) not working

PostPosted: 01. March 2016 17:22
by BBJ
gsmith wrote:/xampp/apache/conf/httpd.conf
way on down the file:

AddType text/html .shtml .html
AddOutputFilter INCLUDES .shtml .html

I'm sure yours is missing the .html at the end of each line.


That fixed it....Thanks