Re: [gentoo-user] Re: Apache config

2017-05-19 Thread Michael Orlitzky
On 05/19/2017 04:31 AM, Peter Humphrey wrote:
> 
> Or is that not what you meant?
> 
> Maybe I need a different MPM.
> 

That's what I meant. How about the

  AddOutputFilter INCLUDES 

line from my previous mail? Do you have that anywhere in your config,
for the  of the file that is trying to include another?

Our default Apache config has it commented-out in 00_mod_mime.conf, and
only for the "shtml" extension. If that's what you want, you can simply
uncomment it; or if you need something more fancy you might have to add
your own AddOutputFilter lines.




Re: [gentoo-user] Re: Apache config

2017-05-19 Thread Peter Humphrey
On Thursday 18 May 2017 15:30:38 Michael Orlitzky wrote:
> On 05/18/2017 01:05 PM, Ian Zimmerman wrote:
> > On 2017-05-18 15:49, Peter Humphrey wrote:
> >> The apache2 access log shows the files of the page being fetched, but
> >> makes no mention of /include/hmenu.incl, nor of includes at all.
> > 
> > Don't you need to load a special module for server-side includes?
> 
> Oh, yeah, that too. It's APACHE2_MODULES=include.

Hmm.

$ emerge -pv apache

These are the packages that would be merged, in order:

Calculating dependencies   done!
[ebuild   R] www-servers/apache-2.4.25:2::gentoo  USE="ssl threads -
debug -doc -ldap (-libressl) (-selinux) -static -suexec" 
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core 
authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host 
authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate 
dir env expires ext_filter file_cache filter headers include info log_config 
logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling 
status unique_id unixd userdir usertrack vhost_alias -access_compat -asis -
auth_digest -authn_dbd -authz_dbd -cache_disk -cache_socache -cern_meta -
charset_lite -dbd -dumpio -http2 -ident -imagemap -lbmethod_bybusyness -
lbmethod_byrequests -lbmethod_bytraffic -lbmethod_heartbeat -log_forensic -
macro -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_fcgi -
proxy_ftp -proxy_html -proxy_http -proxy_scgi -proxy_wstunnel -ratelimit -
remoteip -reqtimeout -slotmem_shm -substitute -version" APACHE2_MPMS="event 
-prefork -worker" 0 KiB

Or is that not what you meant?

Maybe I need a different MPM.

-- 
Regards
Peter




Re: [gentoo-user] Re: Apache config

2017-05-18 Thread Michael Orlitzky
On 05/18/2017 01:05 PM, Ian Zimmerman wrote:
> On 2017-05-18 15:49, Peter Humphrey wrote:
> 
>> The apache2 access log shows the files of the page being fetched, but
>> makes no mention of /include/hmenu.incl, nor of includes at all.
> 
> Don't you need to load a special module for server-side includes?
> 

Oh, yeah, that too. It's APACHE2_MODULES=include.




[gentoo-user] Re: Apache config

2017-05-18 Thread Ian Zimmerman
On 2017-05-18 15:49, Peter Humphrey wrote:

> The apache2 access log shows the files of the page being fetched, but
> makes no mention of /include/hmenu.incl, nor of includes at all.

Don't you need to load a special module for server-side includes?

-- 
Please *no* private Cc: on mailing lists and newsgroups
Personal signed mail: please _encrypt_ and sign
Don't clear-text sign:
http://primate.net/~itz/blog/the-problem-with-gpg-signatures.html