We help IT Professionals succeed at work.
Get Started

Server Side Includes on Apache v2

390 Views
Last Modified: 2013-11-18
Hi
I have setup an Apache Web Server version 2 and having trouble getting SSI to work on it. it is install on Unix server.

I have inserted the following code into the httpd.conf file:

    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml
   
    AND
   
    Options +Includes Indexes FollowSymLinks

And the SSI commands that I used in the html files are:

    Server Side Time: <!--#echo var="DATE_LOCAL" -->
    File Last Modified: <!--#echo var="LAST_MODIFIED" -->

I have followed the tutorial on the apache website for server 2 @  http://httpd.apache.org/docs-2.0/howto/ssi.html
It talks about turning on XBitHack but were do I do that.

Is there any one that can help me.

Thanks for any help
Comment
Watch Question
Solution manager
Commented:
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE