Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/apache/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/shell/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache 通过wsgi访问web2py管理界面_Apache_Wsgi_Web2py_Mod Proxy - Fatal编程技术网

Apache 通过wsgi访问web2py管理界面

Apache 通过wsgi访问web2py管理界面,apache,wsgi,web2py,mod-proxy,Apache,Wsgi,Web2py,Mod Proxy,美国 管理界面admin只能从localhost访问 除非您在Apache后面使用mod_代理运行web2py。如果管理员检测到 代理,会话cookie被设置为安全,而管理员登录未设置 除非客户端和代理之间的通信中断,否则无法正常工作 通过HTTPS;这是一项安全措施。双方之间的所有通信 客户端和管理员必须始终是本地的或加密的;否则 攻击者将能够执行中间人攻击或 重播攻击并在服务器上执行任意代码 但是,我想知道这是否意味着通过WSGI使用web2py意味着我无法远程访问管理界面。如果您尝试通过H

美国

管理界面admin只能从localhost访问 除非您在Apache后面使用mod_代理运行web2py。如果管理员检测到 代理,会话cookie被设置为安全,而管理员登录未设置 除非客户端和代理之间的通信中断,否则无法正常工作 通过HTTPS;这是一项安全措施。双方之间的所有通信 客户端和管理员必须始终是本地的或加密的;否则 攻击者将能够执行中间人攻击或 重播攻击并在服务器上执行任意代码


但是,我想知道这是否意味着通过WSGI使用web2py意味着我无法远程访问管理界面。

如果您尝试通过HTTP访问管理界面,您将看到以下内容:

Forbidden

You don't have permission to access /admin/default/index on this server.

Apache/2.2.22 (Ubuntu) Server at yourserver.com Port 80
只需使用HTTPS导航到同一页面即可远程访问管理界面


关于通过WSGI对管理界面进行http访问的说法是正确的。但是关于https,我得到“无法建立连接”。。。这是我的配置文件-您似乎拒绝访问此行中的管理界面。您是否尝试过注释它或删除它<代码>全部拒绝