troubleshooting Question

Including an HTML file in another HTML file

Avatar of Richard Korts
Richard KortsFlag for United States of America asked on
Web Languages and StandardsHTMLApache Web Server
15 Comments3 Solutions251 ViewsLast Modified:
I want to include some standard menu navigatiion html in a lot of files on the web site.

I've done this before is asp & it worked.

Now I'm trying  <!--#include file = "menu.inc" -->. It doesn't work.

I earlier tried menu.html, didn't work either.

Web server is Apache. There is a .htaccess file in the root (not in the directory I'm working in) that has this content:
Options -Indexes
Options +Includes

What's wrong?

ASKER CERTIFIED SOLUTION
b0lsc0tt
IT Manager

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 3 Answers and 15 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 15 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros