Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxy homepage/root page without affecting others (404s etc.) #234

Open
borishuseincehajic opened this issue Nov 25, 2022 · 1 comment
Open
Labels

Comments

@borishuseincehajic
Copy link

Hi, wondering is there a possibility to proxy the homepage without affecting non-existing pages. Because any non-existent page url will also pickup the some-specific-page one.

<servlet>
  <servlet-name>SomeProxy</servlet-name>
  <servlet-class>org.mitre.dsmiley.httpproxy.someProxyServlet</servlet-class>
  <init-param>
    <param-name>targetUri</param-name>
    <param-value>http://something.com/some-specific-page</param-value>
  </init-param>
</servlet>

<servlet-mapping>
  <servlet-name>SomeProxy</servlet-name>
  <url-pattern>/</url-pattern>
</servlet-mapping>
@dsmiley
Copy link
Collaborator

dsmiley commented Nov 28, 2022

TBH I don't know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants