Google Guice on Google Appengine: mapping with working _ah

后端 未结 4 997
孤独总比滥情好
孤独总比滥情好 2021-01-14 17:55

I have a Google Appengine/Guice/Wicket Application. My problem is that due to the mapping I can\'t access the /_ah/admin Page anymore.

My Servlet Module says:

<
4条回答
  •  自闭症患者
    2021-01-14 18:37

    I solved the same problem with Spring/GAE using the UrlRewriteFilter. Please take a look at the source here. I assume a similar solution could be used for your situation.

    
    
        
            ^/appstats/(.*)$
            /appstats/$1
        
        
            ^/_ah/(.*)$
            /_ah/$1
        
        
            ^/(.*)$
            /app/$1
        
    

提交回复
热议问题