|
Home > Archive > Apache Server configuration support > August 2007 > Includes not displayed - `An error occurred . . .'
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Includes not displayed - `An error occurred . . .'
|
|
|
| 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
| |
| Davide Bianchi 2007-08-29, 1:24 pm |
| On 2007-08-29, MeW <mewalker@uwclub.net> 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
--
Robert Tappen Morris, Jr., got six months in jail for crashing 10
percent of the computers that Bill Gates made $100 million crashing last
weekend.
| |
|
| 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 <Directory "F:/webs/*/"> as
the DocumentRoot is "F:/webs". As I have several sites in F:\Webs I
have tried altering <Directory "F:/webs/*/"> to <Directory
"F:/webs/*/*"> and <Directory "F:/webs/*/*/"> 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 <mewalker@uwclub.net> wrote:
>
> 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/.
>
>
> Somewhere in the httpd.conf you refer to that filter, but the
> module is not installed.
>
> Davide
>
| |
| Davide Bianchi 2007-08-30, 1:23 pm |
| On 2007-08-30, MeW <mewalker@uwclub.net> wrote:
> 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.
Well, I've never used SSI, and I'm not using Windows (actually, I don't
even own a machine with windows...) so I can't really test anything
on this.
Sorry, but I can't really debug the problem, maybe someone else will.
Davide
--
I don't have a photograph, but you can have my footprints. They're upstairs
in my socks.
-- Julius Henry "Groucho" Marx (http://en.wikiquote.org/wiki/Groucho_Marx)
|
|
|
|
|