Skip to content

J2EE filter that converts HTTP headers for reverse proxied applications and ssl offloading, converted the HttpRequest and HttpResponse so it is correct

Notifications You must be signed in to change notification settings

mchyzer/proxyWrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

- to make the jar, just export from eclipse into the dist dir.  Include the source too.

- here is the doc:

https://flash.isc-seo.upenn.edu/confluence/display/FAST/Proxy+filter


  <context-param>
    <param-name>proxyDebug</param-name>
    <param-value>true</param-value>
  </context-param>


  <!-- The patterns here should match the servlet mappings below -->
  <filter>
    <filter-name>proxyWrapper</filter-name>
    <filter-class>edu.upenn.isc.proxyWrapper.ProxyWrapperFilter</filter-class>
  </filter>
  <filter-mapping>
    <filter-name>proxyWrapper</filter-name>
    <url-pattern>/jsp/fast.do</url-pattern>
  </filter-mapping>
  <filter-mapping>
    <filter-name>proxyWrapper</filter-name>
    <url-pattern>/jsp/fast2.do</url-pattern>
  </filter-mapping>
  <filter-mapping>
    <filter-name>proxyWrapper</filter-name>
    <url-pattern>/jsp/fast3.do</url-pattern>
  </filter-mapping>
  <filter-mapping>
    <filter-name>proxyWrapper</filter-name>
    <url-pattern>/jsp/fast4.do</url-pattern>
  </filter-mapping>
  <filter-mapping>
    <filter-name>proxyWrapper</filter-name>
    <url-pattern>/jsp/fast.png</url-pattern>
  </filter-mapping>
  <filter-mapping>
    <filter-name>proxyWrapper</filter-name>
    <url-pattern>/jsp/fast.jpeg</url-pattern>
  </filter-mapping>
  <filter-mapping>
    <filter-name>proxyWrapper</filter-name>
    <url-pattern>/jsp/fast.jpg</url-pattern>
  </filter-mapping>
  <filter-mapping>
    <filter-name>proxyWrapper</filter-name>
    <url-pattern>/jsp/fast.bmp</url-pattern>
  </filter-mapping>
  <filter-mapping>
    <filter-name>proxyWrapper</filter-name>
    <url-pattern>/jsp/fast.gif</url-pattern>
  </filter-mapping>

  
  
##################
## Tamper data for X-Forwarded-Proto (https), X-Forwarded-For (1.2.3.4, or your own ip address)


About

J2EE filter that converts HTTP headers for reverse proxied applications and ssl offloading, converted the HttpRequest and HttpResponse so it is correct

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages