宝塔windows版本:7.3.0
运行目录选了二级目录点保存,提示设置成功,但刷新后还是根目录。
防跨站攻击也无法开启,无错误提示。
宝塔面板日志:
Traceback (most recent call last):
File "D:\BtSoft\panel/class\flask_sockets.py", line 30, in __call__
handler, values = adapter.match()
File "C:\Program Files\python\lib\site-packages\werkzeug\routing.py", line 1945, in match
raise NotFound()
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\BtSoft\panel\BTPanel\__init__.py", line 1237, in publicObject
return public.GetJson(eval(fun)),json_header
File "<string>", line 1, in <module>
File "D:\BtSoft\panel/class\panelSite.py", line 1941, in GetIndex
check_ret = self.check_iis_config(Name)
File "D:\BtSoft\panel/class\panelSite.py", line 2274, in check_iis_config
ret = self.get_site_config(nget)
File "D:\BtSoft\panel/class\panelSite.py", line 2035, in get_site_config
self.init_iisSite_config(get.path)
File "D:\BtSoft\panel/class\panelSite.py", line 2326, in init_iisSite_config
if not os.path.exists(webPath): os.makedirs(webPath)
File "C:\Program Files\python\lib\os.py", line 213, in makedirs
makedirs(head, exist_ok=exist_ok)
File "C:\Program Files\python\lib\os.py", line 213, in makedirs
makedirs(head, exist_ok=exist_ok)
File "C:\Program Files\python\lib\os.py", line 213, in makedirs
makedirs(head, exist_ok=exist_ok)
[Previous line repeated 1 more time]
File "C:\Program Files\python\lib\os.py", line 223, in makedirs
mkdir(name, mode)
|
|