Articles of url

bind9:example.com工作,www.example.com没有,以及如何阻止url

1)我格式化到Ubuntu 10.04.2 LTS后,我正在按照指导来设置绑定。 http://doc.ubuntu.com/ubuntu/serverguide/C/dns-configuration.html#dns-primarymaster-configuration 我可以让我的域example.com解决,但我想要“www.example.com”解决在networking上的实际域。 我目前没有在我的域名上设置networking服务器,所以我宁愿正确parsing。 所以“ping example.com”工作,并parsing到我的本地地址,但“ping www.example.com”给“ping:未知的主机www.example.com”。 这里是文件db.example.com, ; ; BIND data file for example.com ; $TTL 604800 @ IN SOA ns.example.com. root.example.com. ( 9 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; @ IN NS ns.example.com. @ IN A 10.11.12.1 ;www IN […]

未经路由器过滤的安全url

我正在使用路由器阻止一个网站。它对于非安全的URL工作正常,但不适用于安全的URL(https)。任何build议?

在IIS中向本地TomCat反向代理

IIS有几个网站: domain1.com a.domain2.com b.domain2.com 还有一个TomCat正在运行 localhost:8087 挑战是如何将TomCat外部公开为 b.domain2.com 我做了什么: 在IIS中的ARR中启用代理 在b.domain2.com上添加了反向代理URL重写规则 <rewrite> <rules> <rule name="ReverseProxyInboundRule1" stopProcessing="true"> <match url="(.*)" /> <action type="Rewrite" url="http://localhost:8087/{R:1}" /> </rule> </rules> <outboundRules> <rule name="ReverseProxyOutboundRule1" preCondition="ResponseIsHtml1" > <match filterByTags="A, Form, Img" pattern="^http(s)?://localhost:8087/(.*)" /> <action type="Rewrite" value="http{R:1}://femiscan.a2itsolutionsllc.com/{R:2}" /> </rule> <preConditions> <preCondition name="ResponseIsHtml1"> <add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" /> </preCondition> </preConditions> </outboundRules> </rewrite> 我所看到的: 如果我导航到本地 http://b.domain2.com […]

Apache 301在vhost中redirect

我希望redirect(301)一个url,如果url不存在一个string。 例如: http :: //example.com必须总是redirect到http :: //example.com/en http :: //example.com/test.html必须总是redirect到http :: //example.com/en/test.html http :: //example.com/test/another_page必须始终redirect到http :: //example.com/en/test/another_page 喜欢这个。

我如何解译这个HTTP PHP请求?

在我的服务器上,我有严重的HTTP运行SSH攻击。 他们大多数是powershell密码检查或企图/ etc / passwd检索。 但其中一些尝试通过插件系统启动bash或执行奇怪的请求。 看着我的Apache服务器的日志文件,我有这样的行(没有换行符): POST /cgi-bin/php4?%2D%64+%61%6C%6C%6F%77%5F%75%72%6C%5F%69%6E%63%6C%75%64%65%3D %6F%6E+%2D%64+%73%61%66%65%5F%6D%6F%64%65%3D%6F%66%66+%2D%64+%73%75%68%6F%73%69 %6E%2E%73%69%6D%75%6C%61%74%69%6F%6E%3D%6F%6E+%2D%64+%64%69%73%61%62%6C%65%5F%66 %75%6E%63%74%69%6F%6E%73%3D%22%22+%2D%64+%6F%70%65%6E%5F%62%61%73%65%64%69%72%3D %6E%6F%6E%65+%2D%64+%61%75%74%6F%5F%70%72%65%70%65%6E%64%5F%66%69%6C%65%3D%70%68 %70%3A%2F%2F%69%6E%70%75%74+%2D%64+%63%67%69%2E%66%6F%72%63%65%5F%72%65%64%69%72 %65%63%74%3D%30+%2D%64+%63%67%69%2E%72%65%64%69%72%65%63%74%5F%73%74%61%74%75%73 %5F%65%6E%76%3D%30+%2D%6E HTTP/1.1" 301 1718 "-" "Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/636.26(KHTML, like Gecko) Version/6.0 Mobile/10B5355d Safari/8636.25 通过URL解码,我得到了这个: "POST /cgi-bin/php4?-d allow_url_include=on -d safe_mode=off -d suhosin.simulation=on -d disable_functions="" -d open_basedir=none -d auto_prepend_file=php://input -d cgi.force_redirect=0 -d cgi.redirect_status_env=0 -n HTTP/1.1" […]

阻止HAProxy / url编码中的特定url

我试图限制访问特定的url。 它不应该被允许访问/admin.php。 frontend example acl restricted_page path_beg -i /admin\.php http-request deny if restricted_page 这工作正常,HAProxy阻止访问此url。 但是,当我inputhttp://example.org/ad%6Din.php(%6D =“m”的hex代码)时,HAProxy不限制访问。 做这个的最好方式是什么? HAProxy中是否有选项,或者是否需要指定一个与“admin.php”匹配的regluarexpression式作为纯文本和/或url编码? 还有其他方法可以绕过这个限制吗? 谢谢!

我怎样才能find一个网站托pipe在我的域名只有其公共URL的IIS服务器实例?

我开始了一个新的工作,并inheritance了很多服务器和网站。 一个特定的网站,我不确定它托pipe什么服务器/ IIS实例。 我所知道的是该网站的公开url。 有没有办法(也许是一个PowerShell脚本?)来扫描我的域名,并find这个特定的URL绑定到IIS实例?

每天调用一个特定的URL

我需要每天凌晨2点打一个特定的URl。 为此,我在cronotab服务中插入了以下内容: crontab -e 0 2 * * * wget -q -0 – "http://MYWEBSITE" 但似乎不工作.. 我错在哪里?

URLredirect不在IIS 7.5中工作

我正面临从HTTPredirect我的HTTPS Web服务的问题。 我已经将CA SSL证书应用于我的Web服务并使用URL重写,我已经完成了IIS 7.5中redirect的更改。 这里是我得到我的web.configconfiguration: <rule name="Redirect to HTTPS" stopProcessing="true"> <match url="(.*)" /> <conditions> <add input="{HTTPS}" pattern="^OFF$" /> </conditions> <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="SeeOther" /> </rule> 但没有取消选中需要SSL我的web服务,我不能从HTTPredirect到HTTPS,我得到一个403.4错误。 当我尝试添加403.4代码的错误页面,它不接受它,并说我们不能添加403.3代码。 它只接受403,404等

空href标签返回远程服务器上的当前url

我留下了一些没有值的href标签。 但是,在将应用程序部署到远程服务器之后,这些标记将被填充与该服务器上的应用程序位置对应的url。 所以,如果我的应用程序住在http://www.foo.org/,href href = ""被href = "http://www.foo.org/"取代。 为什么?