RE: [users@httpd] SSI not working in Frame on new install of Apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: SSI not working in Frame on new install of Apache
It would seem that there is a slight difference between Apache 2.0.40 and 2.2.0 whereas the earlier version does not require the .txt extension be included in the AddOutputFilter INCLUDES. After adding it in the 2.2.0 configuration, things began working again.
 

-
Aaron Lineberger
alineberger@
ncdoc.navy.mil
N
CDOC System Administrator
(757) 417-7957 x8

 


From: Lineberger, Aaron
Sent: Friday, March 10, 2006 10:08 AM
To: users@xxxxxxxxxxxxxxxx
Subject: [users@httpd] SSI not working in Frame on new install of Apache

Background:
Moving content form RedHat Linux system running 2.0.40 to Sun Solaris 9 system running 2.2.0. (Detailed Information below.)

I'm having a problem on the new install where the SSI in my content no longer works, the only output I get is "11 0" when the include virtual directive is called. I have an index.html file in /usr/local/apache2/htdocs which calls three frames (header.shtml, main.shtml, and footer.shtml). In the header and footer.shtml there is a include virtual directive that references /ssi/header.txt and footer.txt respectively which reside in /usr/local/apache2/htdocs/ssi. When I use the URL http://system/ I get "11 0" in the header and footer frames. When I view source for this it simply says:

11
</body>
</html>
0
If I use the URL http://system/footer.shtml or header.html I get the same thing. If I call the included file directly using http://ystem/ssi/footer.txt or header.txt everything looks correct. So for some reason when the header and footer .shtml files are getting called something is going wrong. I've set LogLevel to debug but do not see anything other that the server responding with 200 when the .shtml pages are called. I'm new to compiling Apache from scratch so I'm trying out as many options as I can, I've included my configure directives below.

I've configured a new httpd.conf file and ported the one from the Red Hat system thinking it was something in my config that was wrong, but both configs give me the same problem. Has anyone seen this behavior before?

This is a brand spanking new installation of Apache 2.2.0 /APR 1.2.2 /APR-Util 1.2.2 compiled with:

cd /tmp/apr-1.2.2
./configure --enable-threads --enable-other-child
make
make test
make install

cd /tmp/apr-util-1.2.2
./configure --with-apr=/tmp/apr-1.2.2 --with-dbm=gdbm --with-gdbm=/usr/local --with-expat=/usr/local --with-iconv=/usr/local

make
make test
make install

cd /tmp/httpd-2.2.0
./configure --enable-modules=all --enable-authn-dbm --enable-authn-anon --enable-authn-dbd --enable-authn-alias --enable-authz-dbm -

-enable-authz-owner --enable-auth-digest --enable-cache --enable-disk-cache --enable-mem-cache --enable-dbd --enable-dumpio --enable

-ext-filter --enable-deflate --enable-log-forensic --enable-logio --enable-mime-magic --enable-cern-meta --enable-expires --enable-h

eaders --enable-ident --enable-usertrack --enable-unique-id --enable-version --enable-proxy --enable-proxy-connect --enable-proxy-ft

p --enable-proxy-http --enable-proxy-ajp --enable-proxy-balancer --enable-ssl --enable-static-support --enable-static-htpasswd --ena

ble-static-htdigest --enable-static-rotatelogs --enable-static-logresolve --enable-static-htdbm --enable-static-ab --enable-static-c

heckgid --enable-http --enable-dav --enable-info --enable-cgi --enable-cgid --enable-dav-fs --enable-dav-lock --enable-vhost-alias -

-enable-imagemap --enable-speling --enable-rewrite --enable-so --with-apr=/tmp/apr-1.2.2 --with-apr-util=/tmp/apr-util-1.2.2 --with-

ssl=/usr/local/ssl
make
make install


RedHat system running:
Server version: Apache/2.0.40
Server built:   Feb 25 2003 05:01:56
Server's Module Magic Number: 20020628:0
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT="/etc/httpd"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
Compiled in modules:
  core.c
  prefork.c
  http_core.c
  mod_so.c

Sun Solaris 9 system running:
Server version: Apache/2.2.0
Server built:   Mar  9 2006 18:02:21
Server's Module Magic Number: 20051115:0
Architecture:   32-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_FCNTL_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/usr/local/apache2"
 -D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
Compiled in modules:
  core.c
  mod_authn_file.c
  mod_authn_dbm.c
  mod_authn_anon.c
  mod_authn_dbd.c
  mod_authn_default.c
  mod_authn_alias.c
  mod_authz_host.c
  mod_authz_groupfile.c
  mod_authz_user.c
  mod_authz_dbm.c
  mod_authz_owner.c
  mod_authz_default.c
  mod_auth_basic.c
  mod_auth_digest.c
  mod_cache.c
  mod_disk_cache.c
  mod_mem_cache.c
  mod_dbd.c
  mod_dumpio.c
  mod_ext_filter.c
  mod_include.c
  mod_filter.c
  mod_deflate.c
  mod_log_config.c
  mod_log_forensic.c
  mod_logio.c
  mod_env.c
  mod_mime_magic.c
  mod_cern_meta.c
  mod_expires.c
  mod_headers.c
  mod_ident.c
  mod_usertrack.c
  mod_unique_id.c
  mod_setenvif.c
  mod_version.c
  mod_proxy.c
  mod_proxy_connect.c
  mod_proxy_ftp.c
  mod_proxy_http.c
  mod_proxy_ajp.c
  mod_proxy_balancer.c
  mod_ssl.c
  prefork.c
  http_core.c
  mod_mime.c
  mod_dav.c
  mod_status.c
  mod_autoindex.c
  mod_asis.c
  mod_info.c
  mod_cgi.c
  mod_cgid.c
  mod_dav_fs.c
  mod_dav_lock.c
  mod_vhost_alias.c
  mod_negotiation.c
  mod_dir.c
  mod_imagemap.c
  mod_actions.c
  mod_speling.c
  mod_userdir.c
  mod_alias.c
  mod_rewrite.c
  mod_so.c

-
Aaron Lineberger
alineberger@
ncdoc.navy.mil
N
CDOC System Administrator
(757) 417-7957 x8


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux