Activate SSI
Posted by: TheKillerR (---.rdsnet.ro)
Date: March 26, 2010 05:59PM

Hello
How May i activate Server Side Includes on Wamp ? smiling smiley

Options: ReplyQuote
Re: Activate SSI
Posted by: TheKillerR (---.rdsnet.ro)
Date: March 26, 2010 06:54PM

Anyone...?

Options: ReplyQuote
Re: Activate SSI
Posted by: TheKillerR (---.rdsnet.ro)
Date: March 26, 2010 07:09PM

on my web host server i use to do it into an .htaccess file but they seem to now work into wamp....

Options: ReplyQuote
Re: Activate SSI
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: March 26, 2010 07:16PM

they do work

its .htaccess

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Activate SSI
Posted by: TheKillerR (---.rdsnet.ro)
Date: March 26, 2010 07:27PM

Well i downloaded the site from my Web server into wamp and it did not worked some weeks ago
can you tell me what code should i add in my .htaccess file that will work ?

Options: ReplyQuote
Re: Activate SSI
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: March 26, 2010 07:29PM

no cos i dunno what your trying to do.. SSI could mean anything....

maybe ur code is for linux server?

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Activate SSI
Posted by: TheKillerR (---.rdsnet.ro)
Date: March 26, 2010 07:39PM

with SSI i mean Server Side Includes as i said in my first post

well my host is on a Linux Server and i used this code to activate it and worked ok


Code:
AddHandler server-parsed .html

What should i use for Windows ?

Options: ReplyQuote
Re: Activate SSI
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: March 26, 2010 08:04PM

ur not understanding..

Server Side Includes could mean any type...

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Activate SSI
Posted by: TheKillerR (---.rdsnet.ro)
Date: March 26, 2010 08:07PM

Well i want to include a php file in a html file...

im using this in the HTML File
<!--#include virtual="FILE.php" -->

Options: ReplyQuote
Re: Activate SSI
Posted by: TheKillerR (---.rdsnet.ro)
Date: March 26, 2010 08:40PM

Nevermind... i ve made it
seems the .htaccess files are indeed working smiling smiley

i done it by adding this in my .htaccess file

Options Includes
AddHandler server-parsed .htm
AddHandler server-parsed .html

Options: ReplyQuote
Re: Activate SSI
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: March 26, 2010 08:41PM

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

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote


Sorry, only registered users may post in this forum.