httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David_Al...@tfcomp.com
Subject [users@httpd] Filters and reverse proxying
Date Fri, 17 Oct 2003 21:16:36 GMT
<FONT face="Default Sans Serif, Verdana, Arial, Helvetica, sans-serif" size=2><div>Hello,</DIV><div>&nbsp;</DIV><div>I'm
trying to filter content on a reverse proxy server. I've gotten the filter to work with a
regular website, but not with my reverse proxy. I'm not getting any errors or seeing anything
in the logs</DIV><div>&nbsp;</DIV><div>What am I missing?</DIV><div>&nbsp;</DIV><div>Thanks,</DIV><div>&nbsp;</DIV><div>David
Alten</DIV><div><A target=blank href="mailto:david_alten@tfcomp.com">david_alten@tfcomp.com</A></DIV><div>&nbsp;</DIV><div>$
httpd -V<BR>Server version: Apache/2.0.45<BR>Server built:&nbsp;&nbsp;
Sep 30 2003 10:02:46<BR>Server's Module Magic Number: 20020903:0<BR>Architecture:&nbsp;&nbsp;
32-bit<BR>Server compiled with....<BR>&nbsp;-D APACHE_MPM_DIR="server/mpm/prefork"<BR>&nbsp;-D
APR_HAS_SENDFILE<BR>&nbsp;-D APR_HAS_MMAP<BR>&nbsp;-D APR_USE_PROC_PTHREAD_SERIALIZE<BR>&nbsp;-D
APR_USE_PTHREAD_SERIALIZE<BR>&nbsp;-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT<BR>&nbsp;-D
APR_HAS_OTHER_CHILD<BR>&nbsp;-D AP_HAVE_RELIABLE_PIPED_LOGS<BR>&nbsp;-D
HTTPD_ROOT="/usr/local/apache"<BR>&nbsp;-D SUEXEC_BIN="/usr/local/apache/bin/suexec"<BR>&nbsp;-D
DEFAULT_PIDLOG="/var/run/httpd.pid"<BR>&nbsp;-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"<BR>&nbsp;-D
DEFAULT_LOCKFILE="/var/run/accept.lock"<BR>&nbsp;-D DEFAULT_ERRORLOG="logs/error_log"<BR>&nbsp;-D
AP_TYPES_CONFIG_FILE="/etc/apache/mime.types"<BR>&nbsp;-D SERVER_CONFIG_FILE="/etc/apache/httpd.conf"<BR></DIV><div>$
httpd -l<BR>Compiled in modules:<BR>&nbsp; core.c<BR>&nbsp; mod_access.c<BR>&nbsp;
mod_auth.c<BR>&nbsp; mod_ext_filter.c<BR>&nbsp; mod_include.c<BR>&nbsp;
mod_log_config.c<BR>&nbsp; mod_env.c<BR>&nbsp; mod_setenvif.c<BR>&nbsp;
mod_proxy.c<BR>&nbsp; proxy_connect.c<BR>&nbsp; proxy_ftp.c<BR>&nbsp;
proxy_http.c<BR>&nbsp; mod_ssl.c<BR>&nbsp; prefork.c<BR>&nbsp;
http_core.c<BR>&nbsp; mod_mime.c<BR>&nbsp; mod_status.c<BR>&nbsp;
mod_autoindex.c<BR>&nbsp; mod_asis.c<BR>&nbsp; mod_cgi.c<BR>&nbsp;
mod_negotiation.c<BR>&nbsp; mod_dir.c<BR>&nbsp; mod_imap.c<BR>&nbsp;
mod_actions.c<BR>&nbsp; mod_userdir.c<BR>&nbsp; mod_alias.c<BR>&nbsp;
mod_rewrite.c<BR>&nbsp; mod_so.c<BR></DIV><div>&nbsp;</DIV><div>&lt;VirtualHost
64.132.1.103:443&gt;<BR>DocumentRoot&nbsp;&nbsp; /var/apache/htdocs<BR>ServerName&nbsp;&nbsp;&nbsp;&nbsp;
whatever:443<BR></DIV><div>ExtFilterDefine cleanit cmd="/usr/bin/grep -v
whatever"<BR>SetOutputFilter cleanit<BR>SetInputFilter cleanit<BR>SSLProxyEngine
On<BR>ProxyRequests On<BR>AllowCONNECT 443<BR>ProxyPass / <A target=blank
href="https://1.2.3.4/">https://1.2.3.4/</A><BR>ProxyPassReverse / <A target=blank
href="https://1.2.3.4/">https://1.2.3.4/</A><BR>&lt;/VirtualHost&gt;<BR></DIV></FONT>
Mime
View raw message