Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

3point14

macrumors newbie
Original poster
Mar 8, 2012
1
0
Can anyone help me please. I cannot get include files to work. I am running Apache 2.2 on an Apple Mac Lion

I have edited the httpd.conf file as follows...

I have added "includes" to the Options line here...

<Directory /usr/share/web>
AllowOverride None
Options MultiViews FollowSymlinks Includes
Order allow,deny
Allow from all
Header Set Cache-Control no-cache
</Directory>

...and I have added "Includes" to the Options line here...

<Directory />
Options FollowSymLinks Includes
AllowOverride None
Order deny,allow
Deny from all
</Directory>

...and I have uncommented the following two lines...

AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.