Includes not displayed - `An error occurred . . ."

Includes not displayed - `An error occurred . . ."

am 29.08.2007 18:51:31 von MeW

I have installed Apache 2.2.4 in order that I may test my current sites
that are under development. While two of these local disk-based sites
are displayed correctly I have a problem with the third relating to
displaying includes. After several days of futile searching I would
appreciate some assistance.

I believe I have correctly enabled SSIs in my httpd.conf file using the
tutorials at: http://minitutorials.com/apache/apacheindex.shtml.
But when accessing the one site in which I have includes an error
message appears at the location of the includes:
[an error occurred while processing this directive]

This is the error log for an access to that site:
[Sat Aug 25 15:58:13 2007] [notice] Apache/2.2.4 (Win32) configured --
resuming normal operations
[Sat Aug 25 15:58:13 2007] [notice] Server built: Jan 9 2007 23:17:20
[Sat Aug 25 15:58:13 2007] [notice] Parent: Created child process 4864
[Sat Aug 25 15:58:13 2007] [notice] Child 4864: Child process is running
[Sat Aug 25 15:58:13 2007] [notice] Child 4864: Acquired the start mutex.
[Sat Aug 25 15:58:13 2007] [notice] Child 4864: Starting 250 worker threads.
[Sat Aug 25 15:58:13 2007] [notice] Child 4864: Starting thread to
listen on port 80.
[Sat Aug 25 15:58:19 2007] [error] an unknown filter was not added: deflate
[Sat Aug 25 15:58:19 2007] [error] [client 127.0.0.1] File does not
exist: F:/webs/includes
[Sat Aug 25 15:58:19 2007] [error] [client 127.0.0.1] unable to include
"/includes/banner.htm" in parsed file F:/webs/mcjdreamweaver/index.shtml
[Sat Aug 25 15:58:19 2007] [error] [client 127.0.0.1] File does not
exist: F:/webs/includes
[Sat Aug 25 15:58:19 2007] [error] [client 127.0.0.1] unable to include
"/includes/hddmenu.htm" in parsed file F:/webs/mcjdreamweaver/index.shtml
[Sat Aug 25 15:58:19 2007] [error] [client 127.0.0.1] File does not
exist: F:/webs/includes
[Sat Aug 25 15:58:19 2007] [error] [client 127.0.0.1] unable to include
"/includes/footer.htm" in parsed file F:/webs/mcjdreamweaver/index.shtml
[Sat Aug 25 15:58:19 2007] [error] [client 127.0.0.1] File does not
exist: F:/webs/favicon.ico
[Sat Aug 25 15:58:19 2007] [error] [client 127.0.0.1] File does not
exist: F:/webs/favicon.ico
[Sat Aug 25 15:58:19 2007] [error] [client 127.0.0.1] File does not
exist: F:/webs/favicon.ico

In order to display the includes where do I correct the paths so that
includes such as F:/webs/mcjdreamweaver/includes/banner.htm will become
active? In Virtual Hosts I have not enabled the file
`httpd-vhosts.conf' as I do not know how to set the parameters for local
webs.

Also to what is the following line referring?
[Sat Aug 25 15:58:19 2007] [error] an unknown filter was not added: deflate

I will be very grateful for any assistance.

Malcolm Walker

Re: Includes not displayed - `An error occurred . . ."

am 29.08.2007 19:33:05 von unknown

Post removed (X-No-Archive: yes)

Re: Includes not displayed - `An error occurred . . ."

am 30.08.2007 17:34:09 von MeW

Davide - Thank you for your reply and the guidance therein.
Unfortunately apart from enabling the LoadModule deflate_module that
obviates that error I am no further forward.

I have checked the directory name which is as
the DocumentRoot is "F:/webs". As I have several sites in F:\Webs I
have tried altering to "F:/webs/*/*"> and but to no avail.

Apache can read the directory F:\Webs\mcjdreamweaver as index.shtml is
displayed but without the includes that are located in
F:\Webs\mcjdreamweaver\includes. This leads me to suppose that if I
placed the includes in the root they would be displayed.

As to permissions and mapping /includes/ I am completely out of my depth
despite reading the Apache Manual and on-line Help!

It would seem that I'll have to pass on this problem.

Malcolm


Davide Bianchi wrote:
> On 2007-08-29, MeW wrote:
>> [Sat Aug 25 15:58:19 2007] [error] [client 127.0.0.1] File does not
>> exist: F:/webs/includes
>> [Sat Aug 25 15:58:19 2007] [error] [client 127.0.0.1] unable to include
>> "/includes/banner.htm" in parsed file F:/webs/mcjdreamweaver/index.shtml
>
> So your SSI are processed, but Apache can't access the directory/disk
> related. Check the directory name, the permissions and if apache can
> read that directory. Eventually, if you have an Alias defined in your
> configuration that "map" /includes/.
>
>> Also to what is the following line referring?
>> [Sat Aug 25 15:58:19 2007] [error] an unknown filter was not added: deflate
>
> Somewhere in the httpd.conf you refer to that filter, but the
> module is not installed.
>
> Davide
>

Re: Includes not displayed - `An error occurred . . ."

am 30.08.2007 18:01:49 von unknown

Post removed (X-No-Archive: yes)