小编Khu*_*boo的帖子

Tinyproxy 不转发请求。从 <IP> 获取未经授权的连接

我已经在 CentOS 7 机器上安装了 tinyproxy,并在 tinyproxy.conf 中将端口更改为 8080 无论我在哪里点击请求,我都会在 tinyproxy.log 中得到以下日志:-

CONNECT   Mar 15 08:14:42 [22148]: Connect (file descriptor 6): <IP> [<IP>]
NOTICE    Mar 15 08:14:42 [22148]: Unauthorized connection from "<IP>" [<IP>].
INFO      Mar 15 08:14:42 [22148]: Read request entity of 1200 bytes
Run Code Online (Sandbox Code Playgroud)

我的请求正在到达代理,代理没有将其转发到目的地。

configuration proxy proxy-server

8
推荐指数
1
解决办法
7630
查看次数

如何在coldfusion中获取当前页面URL?我在获取当前页面URL时获取home_page_URL/index.cfm

我使用下面的代码来获取coldfusion中的当前页面URL: -

host = structKeyExists(cgi,'http_host') ? cgi.http_host  : '';
req_url = 'https://' & host &  cgi.script_name;
Run Code Online (Sandbox Code Playgroud)

但是在req_url参数中,我得到host_name/index.cfm而不是当前页面URL.我在referrer中获得了实际的URL.请告诉我如何获取coldfusion中的当前页面URL.

coldfusion httprequest

3
推荐指数
1
解决办法
4756
查看次数