Solved

#include

Posted on 2001-07-05
2
227 Views
Last Modified: 2013-11-18
I want to include some html text in one page (include.html), into another html page (parent.html).

How do i do it ?

I have used the following statement in parent.html :
<!- #incude file="include.html" ->

But this does not seem to work.

My web server is Weblogic 5.1

Would this work on Apache ? Any other ideas how to achieve this ?
0
Comment
Question by:Jitu
2 Comments
 
LVL 2

Accepted Solution

by:
Tdl earned 50 total points
ID: 6256852
you have to turn on SSI (server side includes)

with apache you would add this to httpd.conf:


<Directory /path_to_files>
Options Includes
</Directory>

Marc
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6402213
This question was LOCKED with a PROPOSED ANSWER and awaits your decision today.  Once a question is LOCKED with a Proposed Answer, few new experts will step in to help on that question, since the assumption is, you've been helped.  If the Proposed Answer helped you, please accept it and award that expert.  If it did not help you, please reject it and add comments as to status and what else is needed.
 
If you wish to award multiple experts, just comment here with detail, I'll respond as soon as possible.  As it stands today, you asked the question, got help and not one expert was awarded for the contribution(s) made.  Your response is needed.  I'll monitor through month end, and if you've not returned to complete this, we'll need to decide.  Expert input is welcome (as always) to determine the outcome here if the Asker does not respond.
 
Your response in finalizing this (and ALL) your question(s) is appreciated.
 
Moondancer
Community Support Moderator @ Experts Exchange

0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to access multiple local hosts from phone on network 5 84
Re-position sub-options beneath the TAB 7 88
Animated .jpg? 13 77
More Than One Website On Same DMZ Server 3 72
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question