000023959 - Apache webserver failure with FrontPage extension

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000023959
Applies ToClearTrust Web Agent Apache V4.6 Agent
Solaris 2.8

Patch for Frontpage-Extensions:

--- ./src/include/httpd.h.orig Wed Feb 23 18:01:33 2000

+++ ./src/include/httpd.h Fri Mar 3 09:48:48 2000

@@ -792,7 +792,12 @@

char *unparsed_uri; /* the uri without any parsing performed */

char *uri; /* the path portion of the URI */

- char *filename; /* filename if found, otherwise NULL */

+ char *execfilename; /* physical filename to exec */

+ char *filename; /* logical filename to exec -- always the same except for FrontPage CGI programs where we will execute the CGI program in /usr/local/frontpage.... */

char *path_info;

char *args; /* QUERY_ARGS, if any */

struct stat finfo; /* ST_MODE set to zero if no such file */


In the Apache agent code (ct_apache_mod.c)(3.5), we have the following lines...

if ( r->parsed_uri.path == NULL ) {

CT_DBG2(("no path? return server error"));

return ( HTTP_INTERNAL_SERVER_ERROR );

}

And apparently, you will get the "HTTP_INTERNAL_SERVER_ERROR" is the parsed_uri.path is set to NULL.

IssueApache webserver failure with FrontPage extension
In the ct_agent log I see an entry ct_pre_process_headers: no path? return server error before the wax is executed. I have an Apache webserver 1.3.37 with Cleartrust Agent 3.5 on Solaris 8.
Log extract:

1164814280.900 17570 1 2:ct_pre_process_headers: new request, uri = /index.html
1164814280.900 17570 1 1:ct_print_ap_table: contents of "r->headers_in":
1164814280.900 17570 1 1:ct_print_ap_table: Accept = */*
1164814280.900 17570 1 1:ct_print_ap_table: Accept-Language = en-gb
1164814280.900 17570 1 1:ct_print_ap_table: Connection = Keep-Alive
1164814280.900 17570 1 1:ct_print_ap_table: Host = wsop.test.deutsche-bank.de
1164814280.900 17570 1 1:ct_print_ap_table: User-Agent = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
1164814280.900 17570 1 3:ct_virtual_host_lookup: server_fqdn=wsop.test.deutsche-bank.de, server_ip=192.168.35.60, server_port=8080
1164814280.900 17570 1 4:find_match_value: 192.168.35.60 == 192.168.35.60
1164814280.900 17570 1 4:find_match_value: 8080 == 8080
1164814280.900 17570 1 4:find_match_value: find_match_value: match_value: 2
1164814280.900 17570 1 4:find_match_value: 192.168.35.60 == 192.168.35.60
1164814280.900 17570 1 4:find_match_value: 8080 == 8080
1164814280.901 17570 1 4:find_match_value: find_match_value: match_value: 17
1164814280.901 17570 1 4:ct_virtual_host_lookup: IP table matches: 2
1164814280.901 17570 1 4:find_match_value: wsop.test.deutsche-bank.de == wsop.test.deutsche-bank.de
1164814280.901 17570 1 4:find_match_value: 8080 == 8080
1164814280.901 17570 1 4:find_match_value: find_match_value: match_value: 27
1164814280.901 17570 1 3:ct_virtual_host_lookup: FQDN index count: 1
1164814280.901 17570 1 2:ct_pre_process_headers: no path?  return server error
1164814280.901 17570 1 3:ct_post_process: rsp_status = 500 Internal Server Error
1164814280.901 17570 1 1:ct_print_ap_table: contents of "r->headers_out":
1164814280.901 17570 1 1:ct_print_ap_table: Connection = close
1164814280.901 17570 1 1:ct_print_ap_table: Content-Type = text/html; charset=iso-8859-1
1164814280.901 17570 1 1:ct_print_ap_table: "r->err_headers_out" is empty
1164814280.901 17570 1 3:ct_post_process: end of request
1164814338.931 17570 1 2:ct_pre_process_headers: new request, uri = /index.html
1164814338.936 17570 1 1:ct_print_ap_table: contents of "r->headers_in":
1164814338.936 17570 1 1:ct_print_ap_table: Accept = */*
1164814338.936 17570 1 1:ct_print_ap_table: Accept-Language = en-gb
1164814338.936 17570 1 1:ct_print_ap_table: Connection = Keep-Alive
1164814338.936 17570 1 1:ct_print_ap_table: Host = wsop.test.deutsche-bank.de
1164814338.936 17570 1 1:ct_print_ap_table: User-Agent = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
1164814338.937 17570 1 3:ct_virtual_host_lookup: server_fqdn=wsop.test.deutsche-bank.de, server_ip=192.168.35.60, server_port=8080
1164814338.937 17570 1 4:find_match_value: 192.168.35.60 == 192.168.35.60
1164814338.937 17570 1 4:find_match_value: 8080 == 8080
1164814338.937 17570 1 4:find_match_value: find_match_value: match_value: 2
1164814338.937 17570 1 4:find_match_value: 192.168.35.60 == 192.168.35.60
1164814338.937 17570 1 4:find_match_value: 8080 == 8080
1164814338.937 17570 1 4:find_match_value: find_match_value: match_value: 17
1164814338.937 17570 1 4:ct_virtual_host_lookup: IP table matches: 2
1164814338.937 17570 1 4:find_match_value: wsop.test.deutsche-bank.de == wsop.test.deutsche-bank.de
1164814338.937 17570 1 4:find_match_value: 8080 == 8080
1164814338.937 17570 1 4:find_match_value: find_match_value: match_value: 27
1164814338.937 17570 1 3:ct_virtual_host_lookup: FQDN index count: 1
1164814338.937 17570 1 2:ct_pre_process_headers: no path?  return server error
1164814338.937 17570 1 3:ct_post_process: rsp_status = 500 Internal Server Error
1164814338.937 17570 1 1:ct_print_ap_table: contents of "r->headers_out":
1164814338.937 17570 1 1:ct_print_ap_table: Connection = close
1164814338.937 17570 1 1:ct_print_ap_table: Content-Type = text/html; charset=iso-8859-1
1164814338.937 17570 1 1:ct_print_ap_table: "r->err_headers_out" is empty
1164814338.937 17570 1 3:ct_post_process: end of request
1164814392.966 17570 1 2:ct_pre_process_headers: new request, uri = /index.html
1164814392.966 17570 1 1:ct_print_ap_table: contents of "r->headers_in":
1164814392.966 17570 1 1:ct_print_ap_table: Accept = */*
1164814392.966 17570 1 1:ct_print_ap_table: Accept-Language = en-gb
1164814392.966 17570 1 1:ct_print_ap_table: Connection = Keep-Alive
1164814392.966 17570 1 1:ct_print_ap_table: Host = wsop.test.deutsche-bank.de
1164814392.966 17570 1 1:ct_print_ap_table: User-Agent = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
1164814392.966 17570 1 3:ct_virtual_host_lookup: server_fqdn=wsop.test.deutsche-bank.de, server_ip=192.168.35.60, server_port=8080
1164814392.966 17570 1 4:find_match_value: 192.168.35.60 == 192.168.35.60
1164814392.966 17570 1 4:find_match_value: 8080 == 8080
1164814392.966 17570 1 4:find_match_value: find_match_value: match_value: 2
1164814392.966 17570 1 4:find_match_value: 192.168.35.60 == 192.168.35.60
1164814392.966 17570 1 4:find_match_value: 8080 == 8080
1164814392.966 17570 1 4:find_match_value: find_match_value: match_value: 17
1164814392.966 17570 1 4:ct_virtual_host_lookup: IP table matches: 2
1164814392.966 17570 1 4:find_match_value: wsop.test.deutsche-bank.de == wsop.test.deutsche-bank.de
1164814392.966 17570 1 4:find_match_value: 8080 == 8080
1164814392.966 17570 1 4:find_match_value: find_match_value: match_value: 27
1164814392.966 17570 1 3:ct_virtual_host_lookup: FQDN index count: 1
1164814392.966 17570 1 2:ct_pre_process_headers: no path?  return server error
1164814392.966 17570 1 3:ct_post_process: rsp_status = 500 Internal Server Error
1164814392.966 17570 1 1:ct_print_ap_table: contents of "r->headers_out":
1164814392.966 17570 1 1:ct_print_ap_table: Connection = close
1164814392.966 17570 1 1:ct_print_ap_table: Content-Type = text/html; charset=iso-8859-1
1164814392.966 17570 1 1:ct_print_ap_table: "r->err_headers_out" is empty
1164814392.966 17570 1 3:ct_post_process: end of request
1164814557.375 17570 1 1:ct_child_exit: exiting
1164814557.395 17561 1 1:main_cleanup: stopping module
ResolutionFrontpage extensions are supported on IIS only not Apache. So the agent on Apache will not take into account the frontpage directives...
Legacy Article IDa33066

Attachments

    Outcomes