server side includes (SSI) not working

Problems with the Windows version of XAMPP, questions, comments, and anything related.

server side includes (SSI) not working

Postby BBJ » 26. February 2016 17:22

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
BBJ
 
Posts: 9
Joined: 08. November 2011 04:56
Operating System: win7

Re: server side includes (SSI) not working

Postby Altrea » 27. February 2016 00:05

SSI only works if the file has the file extension .shtml
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: server side includes (SSI) not working

Postby BBJ » 29. February 2016 20:58

server side worked before I installed wordpress and it also works on my laptop using html files
BBJ
 
Posts: 9
Joined: 08. November 2011 04:56
Operating System: win7

Re: server side includes (SSI) not working

Postby gsmith » 29. February 2016 23:00

/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.
gsmith
 
Posts: 278
Joined: 29. November 2013 18:04
Location: San Diego
XAMPP version: 0.0.0
Operating System: Win 10/2012R VS 14,15,16

Re: server side includes (SSI) not working

Postby BBJ » 01. March 2016 17:22

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
BBJ
 
Posts: 9
Joined: 08. November 2011 04:56
Operating System: win7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 111 guests