Go Back   HostGator Peer Support Forums > HostGator Peer Support Forums > Linux VPS Support

Notices

Reply
 
Thread Tools
  #1  
Old 12-07-2010, 01:11 PM
Jesse Smith Jesse Smith is offline
Hatchling Croc
 
Join Date: Dec 2010
Posts: 5
Question SSI server side includes not working.

I got Includes checked in the WHM options, and use the code...

<!--#include virtual="/cgi-bin/filename.cgi"-->

and instead of getting the content from the page, the SSI code shows up when you view the HTML code of the page.

And yes, the file extension is .shtml.

How do you turn SSI on? I just got the VPS, so this isn't a 'was working, and now it's not working' issue.
Reply With Quote
  #2  
Old 12-07-2010, 01:30 PM
annaitech annaitech is offline
Junior Croc
 
Join Date: Jun 2008
Location: Namakkal, Tamil Nadu, INDIA
Posts: 139
Default Re: SSI server side includes not working.

I don't know exactly as i never tried this on my VPS, anyway i hope this may help you http://httpd.apache.org/docs/1.3/mis...tml#ssi-part-i
Reply With Quote
  #3  
Old 12-07-2010, 02:02 PM
Jesse Smith Jesse Smith is offline
Hatchling Croc
 
Join Date: Dec 2010
Posts: 5
Default Re: SSI server side includes not working.

Thanks. A little one line code is needed in .htaccess.

Options +Includes

Last edited by Jesse Smith; 12-07-2010 at 02:17 PM.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSI (Server Side Includes) blag Shared Hosting Support 17 09-01-2008 12:42 PM
Server Side Includes no longer working dukes Network Status 3 05-09-2008 02:08 AM
Server Side Includes ? wii Shared Hosting Support 8 01-04-2007 06:56 AM
Server side includes flower Shared Hosting Support 1 02-25-2004 09:24 AM

All times are GMT -5. The time now is 09:46 AM.