Making SSI work on my computer?

liunx

Guest
I have PHP, MySQL and Apache installed on my localhost but how do I make SSI work?<!--content-->Try this:<br />
<!-- m --><a class="postlink" href="http://hoohoo.ncsa.uiuc.edu/docs-1.4/tutorials/includes.html">http://hoohoo.ncsa.uiuc.edu/docs-1.4/tu ... ludes.html</a><!-- m --><br />
Good Luck,<br />
Paul<!--content-->Been 3 years since the last reply!<br />
<br />
Uhm, same problem, followed the link. Still clueless.<br />
<br />
Can someone please tell what to write and on what line of which file?<br />
<br />
I want to be able to set up a new folder in htdocs (1 for each site im working on) and be able to create a sub folder called 'includes', and place all my header/footer/navigation php files etc in that folder. i.e. c:\server\apache2\htdocs\sites\site1\includes<br />
c:\server\apache2\htdocs\sites\site2\includes<br />
c:\server\apache2\htdocs\sites\site3\includes<br />
<br />
e.g. in index.php<br />
<br />
<?php<br />
include('/ncludes/meta_and_header.php');<br />
include('includes/nav.php');<br />
?><br />
<!-- some content here --><br />
<?php<br />
include('/ncludes/footer.php');<br />
?><!--content-->
 
Back
Top