Apache and SSI

influx

Registered
Hi all,

I'm trying to enable my http.conf file to enable server-side includes in OSX 10.1, but nothing I do seems to work.

My httpd.conf file currently contains these two snippets:

[Directory /]
Options FollowSymLinks Includes
AllowOverride None
[/Directory]

[Directory "/Library/WebServer/Documents"]

Options Indexes FollowSymLinks MultiViews Includes
[/Directory]

<IfModule mod_dir.c>
DirectoryIndex index.html index.shtml index.php
</IfModule>

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




but, when I go to a directory containing an .shtml file, it doesnt get parsed...

Ive hunted high and low for the answer here, but nothing I do seems to make any difference.

Can anybody fill me in on what Im missing here?
 
try this... and then work your way out.

<b>


&lt;Directory "/Library/WebServer/Documents/special"&gt;
Options Indexes FollowSymLinks MultiViews +includes
Order allow,deny
Allow from all
&lt;/Directory&gt;

</B>

also, check to see the proper Modules are loaded:
<b>
LoadModule includes_module libexec/httpd/mod_include.so</b>

and others....

also see

the note above the directory root directive

# First, we configure the "default" to be a very restrictive set of
# permissions.
#

Start with a subdirectory....
then Library/Webserver/Docs....
leave the root as it is...
 
Back
Top