SuperBaby

Well-Known Member
Nov 27, 2003
345
1
166
Thailand
cPanel Access Level
Website Owner
Twitter
Since yesterday SSI (include virtual) suddenly failed to parse. I have checked under:

WHM >> Apache Configuration >> Global Configuration

and the settings are correct.

I noticed that SSI works if I manually add "Options +Includes" to the htaccess file in the root directory of all accounts. But how do I do it globally?
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
15
313
Houston, TX
cPanel Access Level
Root Administrator
Since yesterday SSI (include virtual) suddenly failed to parse. I have checked under:

WHM >> Apache Configuration >> Global Configuration

and the settings are correct.

I noticed that SSI works if I manually add "Options +Includes" to the htaccess file in the root directory of all accounts. But how do I do it globally?
What's your full cPanel/WHM version information (for example: cPanel 11.24.7-E35784 - WHM 11.24.4 - X 3.9)?
 

SuperBaby

Well-Known Member
Nov 27, 2003
345
1
166
Thailand
cPanel Access Level
Website Owner
Twitter
cPanel 11.24.4-R35075 - WHM 11.24.2 - X 3.9
REDHAT Enterprise 5.2 i686 standard

Earlier it was the stable version. After I logged a support ticket to my server ISP, they moved my cPanel from stable version to release version. Still the problem is there. I have to manually add "Options +Includes" to the main htaccess file of all accounts.
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
15
313
Houston, TX
cPanel Access Level
Root Administrator
cPanel 11.24.4-R35075 - WHM 11.24.2 - X 3.9
REDHAT Enterprise 5.2 i686 standard

Earlier it was the stable version. After I logged a support ticket to my server ISP, they moved my cPanel from stable version to release version. Still the problem is there. I have to manually add "Options +Includes" to the main htaccess file of all accounts.
On that screen, do you have any settings disabled (e.g. IncludesNoExec)?
 

checking

Registered
Apr 30, 2005
4
0
151
I feel weird as I don't see other people complaining about this problem.
Not just you - I have just performed an apache recompile and have experienced the same issue. Using SSI to include a CGI file failed; however, including another file (header, footer etc) worked fine.

The solution of Options +Includes in htaccess worked. Now to find where to place it in cpanel so it sticks with further upgrades.
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
15
313
Houston, TX
cPanel Access Level
Root Administrator
Not just you - I have just performed an apache recompile and have experienced the same issue. Using SSI to include a CGI file failed; however, including another file (header, footer etc) worked fine.

The solution of Options +Includes in htaccess worked. Now to find where to place it in cpanel so it sticks with further upgrades.
These settings are governed by going to WHM -> Apache Configuration -> Global Configuration

If you have IncludesNOEXEC checked, then you will be unable to execute CGI via a Server-Side Include (SSI) despite being able to include other non-executable files (header and footer HTML files, for example).

Here's some relevant documentation on this subject: core - Apache HTTP Server