Articles of http status code 403

Nginx在子域中:如果索引是.html错误403禁止索引是.php被下载

它只发生在一个子域中,其余的很好: 如果索引号的扩展名是htm或者html,则报错: “403禁止” 如果它的扩展名是PHP的索引尝试下载。 / srv / www中的权限对于所有子域是相同的,并且它们工作。 我把configurationconf: server { ## Escucha en el puerto 80 (HTTP) listen 80; server_name musica.domain.com; location / { return 301 https://$server_name$request_uri; } } server { ## Escucha en el puerto 443 (HTTPS) listen 443 ssl http2; server_name musica.domain.com; ## Certificados ssl_certificate /etc/letsencrypt/live/musica.domain.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/musica.domain.com/privkey.pem; include snippets/ssl-params.conf; access_log /var/log/nginx/musica_access.log; […]

IIS7反向代理Subversion 403

我已经设置了IIS7,并使用ARR作为我的反向代理。 我使用redirect到https:// localhost:8443 / {R:1}的规则https://sub.example.com/(.*)设置了一条空白规则。 这似乎运作良好,除了我得到一个403错误… 任何build议? (只能发布一个url,因此空间是有意的)

403.16 – 客户端证书不可信或无效 – IIS 6 – Windows Server 2003

我得到以下错误页面,如果我尝试打开我的服务器上的https页:“客户端证书不可信或无效” 服务器已经在工作,我不得不更新证书,因为它过期了。 我检查了所有证书两次(mmc),但没有看到任何过期的证书。 我也尝试http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/bb089a80-c8ba-4004-9c0f-f10fb6b36416.mspx?mfr=true但没有成功。 还有其他build议吗? 谢谢你的帮助!

Apache的内置反码机制通过返回代码403?

在学习如何为我的Apache服务器进行简单DoS攻击的过程中,我发现了一些脚本来启动对我自己的服务器的攻击,并且注意到Apache经过几次尝试(而不是返回200)后返回错误代码403。 我猜这是Apache很好,但我不明白为什么这样做。 有没有任何configuration支配这种行为? 如果可以的话,我真的想完全closures这种行为。 请帮我理解一下! 谢谢。

修复错误403与清漆caching

我已经在Apache前面运行清漆(3.0.1),并且在两天前stream量激增的时候,网站的所有访问者都开始收到403错误。 从谷歌search我发现一个线程,说这是由光油的IP传递给Apache而不是用户的请求。 (见https://www.varnish-cache.org/lists/pipermail/varnish-misc/2011-March/005730.html ) build议是“你可以尝试通过IP为X转发 – ”我不知道是什么知识产权被称为(客户端?)或实际上我会怎么做。 有没有人看过这个或知道如何实现build议?

什么导致这些403错误的DocumentRoot在我的Apache设置?

我自己configuration​​Apache,并试图强制自己(重新)学习configuration过程。 已经很久了! 版本是在Amazon Linux上运行的Apache / 2.2.21 我打算从这台服务器上运行几个站点。 我创build了: /家庭/ EC2用户/地点 /home/ec2-user/sites/www.domain.ca /家庭/ EC2用户/日志 前两个包含index.html文件。 在我的实验过程中,我将树设置为777而没有任何成功,并将目录和文件的所有权和组更改为apache(这是httpd.conf中发送的)。 我已经切掉了我的httpd.conf文件的一些相关部分: DirectoryIndex index.html index.html.var DocumentRoot "/home/ec2-user/sites" <Directory "/"> Options None AllowOverride None </Directory> <Directory "/home/ec2-user/sites"> Options Indexes Order Allow,Deny Allow from All # Any other directory-specific stuff </Directory> <Directory "/home/ec2-user/www.domain.ca"> Order Allow,Deny Allow from All # Any other directory-specific stuff […]

Tomcatpipe理器403在Nginx后面

这已经让我疯狂了好几天了。 要么我正在做一些完全错误的,真正愚蠢的,或者是它们的组合。 我在Ubuntu 11.10上。 我运行了以下命令: sudo apt-get install nginx sudo apt-get install tomcat7 tomcat7-admin 以下是我的tomcat-users.xml文件: <?xml version='1.0' encoding='utf-8'?> <tomcat-users> <role rolename="admin" /> <role rolename="manager" /> <user username="admin" password="secret" roles="admin,manager" /> </tomcat-users> 我设置了下面的nginxconfiguration: server { listen 80; server_name tomcat.example.com; location / { proxy_pass http://localhost:8080; proxy_set_header Authorization "Basic YWRtaW46c2VjcmV0"; } } 其中YWRtaW46c2VjcmV0是admin:secret在Base64 admin:secret编码。 访问http://tomcat.example.com工作正常; 然而,每当我尝试访问http://tomcat.example.com/manager/html我从Tomcat获得一个403页。 我已经尝试重新启动nginx和tomcat无济于事。 当我尝试进入Tomcatpipe理器时,下面出现在我的Nginx访问日志中: […]

PCI合规失败 – 403(禁止)

由于PCI合规性testing人员最近进行的扫描升级,我们最近失败了一个PCI,build议的解决scheme如下: configurationHTTP服务器为403(禁止)和404(页面未find)响应指定相同的错误文档。 我们的主站点运行drupal安装,drupal .htaccess文件包含以下条目: # Make Drupal handle any 404 errors. ErrorDocument 404 /index.php 为了纠正上述情况,这是一个简单的问题,增加以下内容: ErrorDocument 403 /index.php 还是我需要做一些更复杂的事情?

Nagios 403禁止索引?

我在freebsd 9下安装了nagios,但无法弄清楚它在浏览器中公开的正确方法(来自其他电脑)。 我认为问题是在索引或没有索引文件(除main.php之外)。 Apache说,语法是好的。 目录的权限是777.日志说: 通过Options指令禁止的目录索引:/ usr / local / www / nagios /。 这是我的configuration: ScriptAlias /nagios/cgi-bin/ /usr/local/www/nagios/cgi-bin/ Alias /nagios /usr/local/www/nagios/ <Directory /usr/local/www/nagios> Options +Indexes FollowSymLinks +ExecCGI AllowOverride Indexes AuthConfig FileInfo Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUSerFile /usr/local/etc/nagios/htpasswd.users Require valid-user </Directory> <Directory /usr/local/www/nagios/cgi-bin> Options +ExecCGI AllowOverride None Order allow,deny Allow […]

在IIS7中设置每个IP的最大请求数

我有一个网站部署到IIS 7.一个页面有15 + .js文件链接到它。 在<head>标记中引用的最后两个文件(最后加载)从服务器获得403禁止响应。 我已启用FailedRequestTracing,并已能够看到一个详细的错误代码是403.502。 我想在很短的时间内,我只是拉扯了很多,IIS阻止了我。 有没有一种方法,我可以configuration限制,以启用更大数量的请求,并摆脱403.502错误?