Giter VIP home page Giter VIP logo

Comments (7)

banq avatar banq commented on May 28, 2024

应该没事,如果本地不能访问,进行管理http://localhost:8080/admin/ , 查询查封IP,把127.0.0.1删除即可

from jivejdon.

orangeyts avatar orangeyts commented on May 28, 2024

是改web.xml 下面的配置?

`

			<param-value>.*(https://www.jdon.com|http://www.jdon.com|http://10.0.2.2|http://110.76.43.83).*</param-value>
		</init-param>

`

删除了 localhost 和 127.0.0.1 没有用

from jivejdon.

banq avatar banq commented on May 28, 2024

<param-value>.*(http://127.0.0.1|http://localhost|https://www.jdon.com|http://www.jdon.com).*</param-value>

默认的127.0.0.1已经在里面,可以加入你的IP或域名,看你是使用域名访问还是IP访问

或者
image

from jivejdon.

banq avatar banq commented on May 28, 2024

登录报错是因为错误密码反复登录,用管理密码登录一下admin/admin 这样能了解tomcat的权限配置是否正确

from jivejdon.

orangeyts avatar orangeyts commented on May 28, 2024

启动日志发现了这个
image

忘记 jaas.jar放入tomcat/lib了 <‘/\’>

现在可以登录了,但是也没都是400

image

后台也没有任何异常日志

image

image

from jivejdon.

banq avatar banq commented on May 28, 2024

400错误可能因为之前refer设置限制,直接在web.xml中取消下面行

直接失效这个功能,在web.xml中去除下面:
<filter-mapping>
			<filter-name>spamFilterRefer</filter-name>
			<url-pattern>*.shtml</url-pattern>
		</filter-mapping>
		<filter-mapping>
			<filter-name>spamFilterRefer</filter-name>
			<url-pattern>*.jsp</url-pattern>
		</filter-mapping>

		<!--  spamFilterTooFreq -->
		<filter-mapping>
			<filter-name>spamFilterTooFreq</filter-name>
			<url-pattern>*.shtml</url-pattern>
		</filter-mapping>			
			

from jivejdon.

orangeyts avatar orangeyts commented on May 28, 2024

谢谢,可以访问了
image

from jivejdon.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.