Handle /a/scrape and /tracker/a/scrape

for BiglyBT
ref: BiglyBT issue 3211
This commit is contained in:
zzz
2024-03-27 15:33:55 -04:00
parent 7a6c0bcccd
commit 32062dff20
2 changed files with 13 additions and 0 deletions

View File

@ -189,6 +189,13 @@
<Set name="replacement">/tracker/scrape.jsp</Set>
</New>
</Item>
<!-- BiglyBT -->
<Item>
<New class="org.eclipse.jetty.rewrite.handler.RewritePatternRule">
<Set name="pattern">/a/scrape</Set>
<Set name="replacement">/tracker/scrape.jsp</Set>
</New>
</Item>
<Item>
<New class="org.eclipse.jetty.rewrite.handler.RewritePatternRule">
<Set name="pattern">/Seedless</Set>

View File

@ -47,4 +47,10 @@
<url-pattern>/scrape.php</url-pattern>
</servlet-mapping>
<!-- BiglyBT -->
<servlet-mapping>
<servlet-name>net.i2p.zzzot.scrape_jsp</servlet-name>
<url-pattern>/a/scrape</url-pattern>
</servlet-mapping>
</web-app>