hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : SSI / .shtml files not being parsed?
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

SSI / .shtml files not being parsed?

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 07-27-2002, 09:17 AM
gafami gafami is offline
Newbie
 
Join Date: Mar 2002
Posts: 12
*

SSI / .shtml files not being parsed?


hey there everyone,

I've used the latest apachetoolbox to compile apache (+php etc) and I also included mod_include to actually use server side includes within .shtml files. Apache itself works fine, so does php, but for some reason... the SSI-commands in .shtml files aren't executed.. but appear in the source code of the delivered sites... so basically they ain't working.


the httpd.conf does include the following though:

AddType text/html .shtml
AddHandler server-parsed .shtml


sooo what might be the reason that .shtml files "don't work" ?


cheers & thanks,
-joerg

Reply With Quote


Sponsored Links
  #2  
Old 07-27-2002, 09:42 AM
EzSnake EzSnake is offline
Junior Guru
 
Join Date: Jun 2002
Posts: 189
If you got PHP and using includes why save as .SHTML
I have always saved as .php even if include is only thing "php" about the whole page... This works perfect for me...

Reply With Quote
  #3  
Old 07-27-2002, 12:33 PM
allan allan is offline
Retired Moderator
 
Join Date: Dec 2000
Location: Leesburg, VA
Posts: 3,205
Re: SSI / .shtml files not being parsed?

Quote:
Originally posted by gafami

I've used the latest apachetoolbox to compile apache (+php etc) and I also included mod_include to actually use server side includes within .shtml files. Apache itself works fine, so does php, but for some reason... the SSI-commands in .shtml files aren't executed.. but appear in the source code of the delivered sites... so basically they ain't working.

What is the command you are trying to execute?

__________________
My Political Blog

Reply With Quote
Sponsored Links
  #4  
Old 07-27-2002, 12:58 PM
gafami gafami is offline
Newbie
 
Join Date: Mar 2002
Posts: 12
mm well any kind.. e.g.

<!--#echo var="HTTP_REFERER" -->


:\

Reply With Quote
  #5  
Old 07-27-2002, 03:46 PM
neil neil is offline
Web Hosting Evangelist
 
Join Date: Jul 2001
Location: Indianapolis, IN
Posts: 537
You'll also need "Options +Includes" just search for "Options" in httpd.conf.... if it's already set to "ALL" don't worry about it, but if not toss in Includes.

-neil

__________________
neil MCITP, VCP

Reply With Quote
  #6  
Old 07-27-2002, 05:27 PM
gafami gafami is offline
Newbie
 
Join Date: Mar 2002
Posts: 12
Quote:
Originally posted by neil
You'll also need "Options +Includes" just search for "Options" in httpd.conf.... if it's already set to "ALL" don't worry about it, but if not toss in Includes.

-neil
woohooo!! hehe thanks... it worked


cheers,
-jb

Reply With Quote
  #7  
Old 07-28-2002, 01:01 AM
neil neil is offline
Web Hosting Evangelist
 
Join Date: Jul 2001
Location: Indianapolis, IN
Posts: 537
awsome, good to hear! The apache docs include some pretty good ssi help (as far as tags go) the one for 1.3 is at http://httpd.apache.org/docs/howto/ssi.html

__________________
neil MCITP, VCP

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Malwarebytes Launches Data Scan-and-Backup Service Web Hosting News 2013-05-07 14:51:03
Yahoo Integrates Email Client with Dropbox Cloud Storage Web Hosting News 2013-04-04 14:31:40
Court Documents Show Megaupload Helped Feds Take Down File Sharing Service NinjaVideo Web Hosting News 2012-11-21 10:53:49
Web Hosting Sales and Promos Roundup - December 16, 2011 Web Hosting News 2011-12-16 17:40:38
Web Host Hosting Ireland Launches Online Backup Service CloudBox Web Hosting News 2011-09-27 20:00:52


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?