我有一个客户端在我们的服务器上设置SiteMinder,我需要添加一个Web应用程序到网站的根目录。 当他们浏览login.url.com时,他们将其redirect到他们的服务器,validation用户身份,然后返回到我的IIS中的404页面。 我将Default.aspx和应用程序文件放置在默认网站以及siteminderagent虚拟目录中,但仍然收到404错误。 我怎样才能找出这个应用程序在哪里用404登陆? 另外,我在服务器上安装了.NET 3.5,应用程序是.NET 3.5,但是即使在安装之后,它也只能在默认网站的属性窗口中显示2.0xx …我是否需要更改?
我今天刚刚安装了lighttpd,并且在使用lighttpd时总是在子目录上返回一个404错误。 我试图安装这个 (h5ai),我已经按照后者的方向。 这是lighttpd的configuration中的一行 index-file.names = ( "index.php", "index.html", "index.htm", "default.htm", "lighttpd/index.html", "_h5ai/server/php/index.php" ) 从我所了解的这个configuration是,它将加载所有上述目录,并search索引文件中的任何一个,并在请求时显示它。 所以我没有看到这个问题。 主页工作正常:www.example.com然而,正如你可以在网站上看到,当你去一个子目录,你会立即得到一个404错误。 这个目录确实存在,这很奇怪。 这是我的lighttpd.conf # lighttpd configuration file # # use it as a base for lighttpd 1.0.0 and above # # $Id: lighttpd.conf 8860 2008-08-05 10:56:16Z engy $ ############ Options you really have to take care of #################### ## […]
我只是在ubuntu上运行apache2的另一台服务器上恢复了我们的Magento网站。 主页拉起来很好,但如果我尝试去其他页面,我会得到一个404。 权限 所有文件都是660 所有目录都是770所有文件和目录 所有文件和目录都属于www-data组 我试过的东西 检查所有的网站和存储ID 在域和页面path之间添加/index.php/ 清除临时文件 除access.log和error.log中的标准404行之外,日志文件中不会显示任何内容。 apache2 .conf文件 <VirtualHost *:80> ServerAdmin [email protected] ServerName mydomain.com DocumentRoot "/var/www/default/" <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory "/var/www/default/"> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all php_admin_flag engine on php_admin_value open_basedir none </Directory> ErrorLog ${APACHE_LOG_DIR}/error.log # Possible values include: debug, […]
我正在使用WPN-XM (与Nginx,MariaDB,PHP和OPENSSL堆栈),并试图在HTTP/HTTPS服务器中设置OpenSSL 。 我在这里按照NGINX的指示,我的服务器启动/停止没有错误。 这是我的nginx.conf与“双服务器”: server { listen 80; listen 443 ssl; server_name localhost; root www/login; # ssl properties ssl_certificate ../../../bin/openssl/certs/cert.pem; ssl_certificate_key ../../../bin/openssl/certs/cert.key; ssl_session_timeout 5m; ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers HIGH:!aNULL:!MD5; ssl_prefer_server_ciphers on; log_not_found off; charset utf-8; access_log logs/access.log main; # handle files in the root path /www location / { index index.php index.html […]
我有一个特定的文件types的IIS。阻止.notebook。 我试图进入请求过滤,并添加.notebook与允许设置为true,但我仍然得到了404。此文件夹中的任何其他内容将下载,只是这一种types被阻止。 我并不是通过头文件来下载,而是直接input文件的URL。 作为参考,这是在我做出更改时添加到web.config中的相关部分 <security> <requestFiltering allowDoubleEscaping="false"> <fileExtensions> <add fileExtension=".notebook" allowed="true" /> </fileExtensions> </requestFiltering> </security>
我正在尝试将cdn.minora.me/forum/中的每个文件重写到另一个目录中: server { listen 443 ssl; listen [::]:443 ssl; ssl on; ssl_certificate /etc/nginx/ssl/minora.me.crt; ssl_certificate_key /etc/nginx/ssl/minora.me.key; root /srv/minora.me/webservices/cdn.minora.me; index index.html index.htm index.php; server_name cdn.minora.me; location ~* \.(eot|ttf|woff|js|css|svg)$ { add_header Access-Control-Allow-Origin *; } location /forum/(images|language|sounds|templates|uploads|vendor|src\/modules|nodebb\.min\.js(\.map)?|stylesheet\.css|admin\.css) { alias /srv/minora.me/webservices/forum.minora.me/public/; } location / { try_files $uri $uri/ /index.php; } location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass unix:/var/run/php5-fpm-cdn.minora.me.sock; fastcgi_index index.php; […]
我有nginx服务器发送404错误到1.1.1.1:8081 Apache httpd。 如何将所有原始标题传递给错误服务器? 我有以下configuration: server { error_page 404 = http://1.1.1.1:8081/404.php?remote=1; } 当在404.php中检查标题时,我得到客户端的原始ip,但没有来自客户端的cookie; 另外,我得到请求的uri设置为404.php?remote=1而不是导致404错误的url: <?php // 404.php file file_put_content("log.txt", $_SERVER['REQUEST_URI'], FILE_APPEND); // 🙁 file_put_content("log.txt", $_SERVER['REMOTE_ADDR'], FILE_APPEND); // Ok file_put_content("log.txt", $_COOKIE['MyCookie'], FILE_APPEND); // 🙁 empty ?>
我有一些运行在IIS 7.5下的WCF web服务,它们对http请求的响应是正确的,但是当使用SSL调用方法时,响应404(Not Found)错误。 该网站的绑定如下: 当调用http://127.0.0.1:8088/Public/PublicDataService.svc时,我得到了预期的响应: 你已经创build了一个服务。 要testing此服务,您需要创build一个客户端并使用它来调用该服务。 您可以使用命令行中的svcutil.exe工具使用以下语法来执行此操作:etc 同样调用任何Service方法都有效,有一个叫做CanConnect的最基本的方法,它只是返回“true” http://127.0.0.1:8088/Public/PublicDataService.svc/CanConnect 真正 当使用https时,结果如下。 https://127.0.0.1/Public/PublicDataService.svc 你已经创build了一个服务。 要testing此服务,您需要创build一个客户端并使用它来调用该服务。 您可以使用命令行中的svcutil.exe工具使用以下语法来执行此操作: https://127.0.0.1/Public/PublicDataService.svc/CanConnect “/公共”应用程序中的服务器错误。 无法find该资源。 说明:HTTP 404.您正在查找的资源(或其某个依赖项)可能已被删除,名称已更改或暂时不可用。 请检查以下URL并确保拼写正确。 请求的url:/Public/PublicDataService.svc/CanConnect 版本信息:Microsoft .NET Framework版本:4.0.30319; ASP.NET版本:4.6.1055.0 这让我完全陷入困境,怎么可以调用.svc的工作,但是其内部的方法给404呢? 为了使事情更令人困惑,这是工作…事实上,我甚至不知道什么时候停止,即如果它对应于代码版本或服务器补丁等。 网站的实际configuration是这样的: Webservices (this is the root of the application / where the Web.Config sits) – Public (a windows directory, no addition config) 有很多其他的服务直接在根目录下运行,在http和https下运行正常。 任何想法可能会导致这一点。
我有FTP访问服务器,我想有自定义404页面。 我无法访问pipe理控制台或服务器上的任何pipe理员权限。 我明白,Apache可以使用.htaccess文件来设置目录的自定义errorDocuments。 在IIS6中有类似的方法吗? 干杯,垫子
简短的版本 :我们希望Apache在获得500状态时捕获并返回类似404的东西。 有没有办法做到这一点? 更长的版本 :这些服务器运行的应用程序不是我们的,而且最近他们没有通过PCI符合性扫描,因为如果您弄糟了主机,可能会出现500个状态错误。 从长远来看,我们将把它们移动到不同的networking,因此它们不需要符合PCI规范,但是从短期来看,我们希望能够快速修复,而不是显示应用程序返回的500状态。 这两个应用程序都通过Apache接受他们的请求。 我希望/假设这将是一个mod_rewrite规则,但不知道根据状态码使mod_rewrite更改。