Server Side Includes (SSI) Help with WAMP.
Posted by: meloncrack (---.oc.oc.cox.net)
Date: September 19, 2008 12:17AM

Hi, I need some help activating SSI (Server Side Includes) on my wamp install. Pretty much I Installed WAMP and then I made a directory in the www root folder called includes.

I put a file called Menu.html in this INCLUDES FOLDER so it's in 'www/includes'

<style type="text/css">
.navBar {margin: 0; list-style-type: none; padding:0;}
.navItem {
padding-left:35px;
margin-bottom: 10px;
list-style-image: url(file:///C|/wamp/www/images/clover.jpg);
}
.navItem a {
color: #000;
text-decoration:none;
font-family:tahoma, Trebuchet MS;
font-size:11px;
text-transform: uppercase;
position: relative;
}
</style>


<body>
<ul class="navBar">
<li class="navItem"><a href="file:///C|/wamp/www/index.html">Home</a></li>
<li class="navItem"><a href="file:///C|/wamp/www/introduction.html">Introduction</a></li>
<li class="navItem"><a href="file:///C|/wamp/www/advice&amp;commonmistakes.html">Advice & Common Mistakes</a></li>
<li class="navItem"><a href="file:///C|/wamp/www/pre-flopplay.html">Pre-Flop Play</a></li>
<li class="navItem"><a href="file:///C|/wamp/www/flopplay.html">Flop Play</a></li>
<li class="navItem"><a href="file:///C|/wamp/www/holdingsatflopplay.html">Holdings At Flop Play</a></li>
<li class="navItem"><a href="file:///C|/wamp/www/ontheturn.html">On the Turn</a></li>
<li class="navItem"><a href="file:///C|/wamp/www/ontheriver.html">On the River</a></li>
<li class="navItem"><a href="file:///C|/wamp/www/specialmoves.html">Special Moves</a></li>
<li class="navItem"><a href="file:///C|/wamp/www/odds.html">Odds</a></li>
<li class="navItem"><a href="file:///C|/wamp/www/glossary.html">Glossary</a></li>
</ul>
</body>


That is the code for that menu.html.

Then I made a file in the MAIN www root 'www' called index.html and inserted this code
<!--#include virtual="/includes/menu.html" -->

When I open the Index.html it won't show my menu on the left side. This is the website.
www.pokerhungry.com


Can anyone help me?

Options: ReplyQuote
Re: Server Side Includes (SSI) Help with WAMP.
Posted by: leonard2 (---.prod-infinitum.com.mx)
Date: September 19, 2008 02:02AM

make a folder inside of www
by example
C / WAMP / www / my carpet

folder in my carpet put files index.php is necessary that the file is so named because create an list in the folder and file so you can put
examp

index.php
<? PHP
incluye 'menu. html ';
//or
require 'menu.html';

?>
luck!

Options: ReplyQuote
Re: Server Side Includes (SSI) Help with WAMP.
Posted by: leonard2 (---.prod-infinitum.com.mx)
Date: September 19, 2008 02:08AM

or see this page [httpd.apache.org]


luck!

Options: ReplyQuote
Re: Server Side Includes (SSI) Help with WAMP.
Posted by: meloncrack (---.oc.oc.cox.net)
Date: September 19, 2008 02:47AM

Hi Leonard,

thanks for your reply, how come I can't just put it in the www folder?

Options: ReplyQuote


Sorry, only registered users may post in this forum.