我有一个奇怪的情况。 我已经有了Windows Server 2012的Amazon EC2,运行ColdFusion与IIS。 奇怪的问题是我的服务器似乎是与域上的SSL证书在框中的服务器相匹配。 然而,网站的内容正在生成一个404错误,无论我做什么。 这可能被认为是相当模糊的,但我想知道的是,这是一个常见的错误? 这是SSL证书处理到浏览器,但所有的内容失败? 提前致谢。
这是我的Apache HTTPD日志: [Wed May 13 18:29:48 2015] [error] [client 108.162.213.59] File does not exist:/www/html/ui/core.min.js [Wed May 13 18:29:48 2015] [error] [client 108.162.210.161] File does not exist:/www/html/ui/ico.favorites.gif [Wed May 13 18:29:49 2015] [error] [client 108.162.213.35] File does not exist:/www/html/ui/social.facebook.gif [Wed May 13 18:29:49 2015] [error] [client 108.162.210.146] File does not exist:/www/html/ui/success.gif [Wed May 13 18:29:49 2015] […]
这看起来很简单,但我不知道如何解决。 在浏览器中打开以下url: https://ecomm.sella.it/gestpay/gestpayws/WSCryptDecrypt.asmx?WSDL 这似乎工作,这将在您的浏览器下载和XML WSDL。 但在我们的Linux服务器上,当我尝试wget相同的URL它返回404 – 未find错误: wget https://ecomm.sella.it/gestpay/gestpayws/WSCryptDecrypt.asmx?WSDL 同时,当我尝试谷歌或Hotmail的,它只是正常工作。 但是这个WSDL URL返回404错误代码。 看起来这是某种caching问题。 我怎样才能解决这个问题?
所以我有一个非常基本的网站托pipe在IIS中(现在只是直接的原始HTML没有.Net代码) 在我的web.config中,我有以下几点: <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <httpErrors> <remove statusCode="404" subStatusCode="-1" /> <error statusCode="404" prefixLanguageFilePath="" path="/404.html" responseMode="ExecuteURL" /> </httpErrors> </system.webServer> </configuration> 这是由IISpipe理器添加到web.config – 它反映了我在网上find的404错误的有效configurationredirect到我的自定义404页面。 但是,我仍然得到IIS生成的HTTP Error 404.0 – Not Found页面,只要我去一个不存在的页面。 任何想法我在这里做错了吗? build立: IIS 10 / IIS 8.5(同时testing) Windows 10 / Windows 8.1(同时testing) 默认应用 Chrome,Edge,Internet Explorer,Firefox(全部最新)
运行Apache / 2.4.16(Ubuntu)。 我有5个子域(app,cdn,api,m,www / home)的证书。 我想要未定义的子域名为404.我想https://domain.com/404将是适当的地方。 我如何做到这一点,并避免“你的连接不是私人的”警告? 这是处理这个问题的正确方法吗? 我的configuration文件看起来像这样(简化): #APP <VirtualHost _default_:443> ServerName app.domain.com DocumentRoot /var/www/html/app </VirtualHost> #CDN <VirtualHost _default_:443> ServerName cdn.domain.com DocumentRoot /var/www/html/cdn </VirtualHost> #API <VirtualHost _default_:443> ServerName api.domain.com DocumentRoot /var/www/html/api </VirtualHost> #M <VirtualHost _default_:443> ServerName m.domain.com DocumentRoot /var/www/html/m </VirtualHost> #HOME <VirtualHost _default_:443> ServerName domain.com ServerAlias www.domain.com DocumentRoot /var/www/html/home </VirtualHost>
Windows 10,IIS 10,经典ASP,.NET v2.0 Classic 多年来一直在我的testing机器上工作的自定义404错误页面(使用Windows 7)不再在Windows 10的IIS中运行。 我在IIS错误页面中设置了一切。 这是我的代码从web.config文件。 <httpErrors errorMode="Custom" defaultPath="/MyDomain.org/error/404.asp" defaultResponseMode="ExecuteURL"> <remove statusCode="404" subStatusCode="-1" /> <error statusCode="404" path="/MyDomain.org/error/404.asp" responseMode="ExecuteURL" /> </httpErrors> 这是IIS中的虚拟站点,因此域名必须存在。 这是行不通的。 我加载页面,我得到的唯一的东西是。 无法find此192.168.2.12页面 没有网页被发现的url: http : //192.168.2.12/ask/ASP_Classic/ 我需要testing这些网页的更新到我们的网站。 任何想法是什么改变了在IIS 10,这将导致404页面不再工作?
我认为[L]标志表示“这个规则应该是这个http请求处理的最后一个规则..” 但是,当我有两个规则,如: RewriteRule ^test$ php/test.php [L] RewriteRule (.*) error.php 总是发生的是请求http:// localhost / test去error.php, 而不是我想象的test.php,因为我把[L]放在那里。 如果你注释掉那里的第二个规则,那么请求http:// localhost / test按预期转到test.php。 我真正想要做的是用mod_rewrite捕获404错误。 我想要做的事情可能是错的。 但是我仍然想知道为什么catch-all规则是活跃的,因为我在^test规则之后放了一个[L]。 我在这里看到一个很大的列表,在这里服务器pipe理员列出了一大堆以识别的目录开头的path,但是我想避免通过简单地使用一个很好的catch-all规则来做到这一点。
嗨,我的一个朋友正在询问可以在这里find的请求: http://www.geoidee.ch/geodata/geoserver-2.0.0/logs/2010_11_23.request.log 他原来的信息: 在全球数百个网站上,50个最常见的“文件未find”错误404之一是由以下请求引起的: "GET http://66.196.81.202/error/vote HTTP/1.0" 它起源于一个声称是iPhone的用户代理。 打到我的服务器的两个请求似乎来自德国法兰克福附近。 请求中的IP地址是雅虎的一部分,但我怀疑雅虎是否有任何有意的部分。 fe1.buzz.vip.re1.yahoo.com HTTP请求有一个主机头66.196.81.202 和X-Forwarded-For的96.6.99.16和我的IP地址 我希望能够做一个谷歌search,find一些安全公告,但我什么也没find。 这可能只是因为我的search技能不足。 感谢任何指向这可能是什么
我看到这个post,但它并没有真正解决我的情况。 我正在尝试为同一个IP地址添加第二个地址logging,但由于某种原因,我一直在从dsnextgen.com 404反弹? 是否可以为一台共享机器设置多个地址logging? 如果有的话,为什么我要从dsnextgen.com 404反弹?
我正在使用Nginx + PHP-FPM来运行一个基于WordPress的网站。 我有一个URL应该返回dynamic生成的JSON数据用于DataTables jQuery插件。 数据正确返回,但返回码为404。我认为这是一个Nginx的configuration问题,但我一直无法弄清楚为什么。 脚本“getTable.php”在当前使用Apache的站点的生产版本上正常工作。 任何人都知道我怎么能得到这个Nginx的工作? url: http : //dev.iloveskydiving.org/wp-content/plugins/ils-workflow/lib/getTable.php 服务器:CentOS 6 + Varnish(caching禁用开发)+ Nginx + PHP-FPM + WordPress + W3 Total Cache Nginxconfiguration: server { # Server Parameters listen 127.0.0.1:8082; server_name dev.iloveskydiving.org; root /var/www/dev.iloveskydiving.org/html; access_log /var/www/dev.iloveskydiving.org/logs/access.log main; error_log /var/www/dev.iloveskydiving.org/logs/error.log error; index index.php; # Rewrite minified CSS and JS files location ~* \.(css|js) […]