LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-02-2008, 09:02 AM   #1
sir-lancealot
Member
 
Registered: Aug 2007
Posts: 346

Rep: Reputation: 31
apache include mod help


Moving a website off an older server to a newer clustered one and having an include issue. The files that get generated are .shtml (it's a custom app) and that part is working.

The app also includes other folders, but the include is not working, so the page no longer shows any errors, but the view source is loaded with includes (not working) such as;
<!--#INCLUDE VIRTUAL="include/head.html"-->

I am trying to compare the conf files and I do see;
LoadModule include_module modules/mod_include.so

I tried to add that to the new server conf (the module is there) so I add the load line, restart apache and get the following error;
Syntax error on line 56 of /home/mcp/local/apache2/conf/httpd.conf: module include_module is built-in and can't be loaded

Both are running apache 2.0, anyone have some .02 to throw out there as what else needs to be installed or loaded.

Thanks
 
Old 07-03-2008, 02:08 AM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
If apache is telling you the module is built-in, it is. You don't need to load it as a separate loadable module.

As to why the html is not being server-side included, does the context have permission to enable server side includes?

See: http://httpd.apache.org/docs/2.2/howto/ssi.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Use Of Mod Jk in Apache chnlinux Linux - Newbie 0 04-02-2008 01:53 AM
Looking for Apache mod or solution lamiczka Linux - Server 1 12-01-2007 01:03 PM
(mod)php4 + apache 1 makkintosh Linux - Server 2 02-25-2007 04:05 AM
Apache + Mod SSL abhijeetudas Linux - Software 0 01-05-2005 02:34 PM
Include mod for Apache Graanco Linux - Newbie 6 09-14-2001 12:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration