public inbox for gentoo-server@lists.gentoo.org
 help / color / mirror / Atom feed
From: Bertrand CHERRIER <chr@linux-nc.org>
To: gentoo-server@lists.gentoo.org
Subject: Re: [gentoo-server] Apache SSI
Date: Thu, 06 Oct 2005 09:03:28 +1100	[thread overview]
Message-ID: <43444DB0.9090901@linux-nc.org> (raw)
In-Reply-To: <Pine.BSO.4.58.0510051731090.11417@ida.bway.net>

Hi,

I had the same problem after upgrading to the new scheme ...
in your httpd.conf , make sure you've this :
# Filters allow you to process content before it is sent to the client.
#
# To parse .shtml files for server-side includes (SSI):
# (You will also need to add "Includes" to the "Options" directive.)
#
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml

(the last two lines must be uncommented)

@+

A. Khattri a écrit :

>On Wed, 5 Oct 2005, Luca Longinotti wrote:
>
>  
>
>>A. Khattri wrote:
>>
>>    
>>
>>>The include module is loaded, I have added handlers for .shtml files and
>>>enabled "Options +IncludeNOEXEC" but I can't get server-side includes to
>>>work. What am I doing wrong?
>>>
>>>
>>>
>>>
>>>      
>>>
>>The correct line would be "Options +Includes" for SSI, "ExecCGI" is used
>>to permit the execution of CGI scripts inside a directory and/or server.
>>Best regards, CHTEKK aka. Luca Longinotti.
>>    
>>
>
>I have "Options +Includes" inside a VirtHost config.
>
>I have the .shtml handler in the global config.
>
>Im see a LoadModule line for mod_include.
>
>This is on a server that was rebuilt yesterday - so Im using the all new
>Apache layout (which is quite different from the old setup).
>
>
>  
>

-- 
Bertrand CHERRIER
chr@linux-nc.org
Linux chr 2.6.13-gentoo-r2 #5 Mon Sep 26 08:10:41 NCT 2005 x86_64 AMD Athlon(tm) 64 Processor 3700+ AuthenticAMD GNU/Linux
-----
Bow before me, for I am root

-- 
gentoo-server@gentoo.org mailing list



  reply	other threads:[~2005-10-05 22:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-05 18:54 [gentoo-server] Apache SSI A. Khattri
2005-10-05 19:42 ` Luca Longinotti
2005-10-05 21:44   ` A. Khattri
2005-10-05 22:03     ` Bertrand CHERRIER [this message]
2005-10-05 22:09       ` A. Khattri
2005-10-05 22:16   ` [gentoo-server] Apache SSI [SOLVED] A. Khattri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43444DB0.9090901@linux-nc.org \
    --to=chr@linux-nc.org \
    --cc=gentoo-server@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox