服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. lighttpd
  3. 如何用lighttpd返回410
Intereting Posts
使用/ etc / skel和pam时的文件夹权限 将桌面软件作为“服务” 为什么“范围链接”ipv6地址可以通过它们不活跃的接口来ping通 如何SSH密钥的隧道 测量监控软件性能 隐藏networking驱动器上的总大小和可用空间 为什么ESXi 5.0未在我的testing服务器上使用软件RAIDconfiguration? 删除Exchange邮箱和存档 EC2上从PHP到MySQL的连接时间很长 ESXi 3.5 / ESXi 4中的Windows 7 / Windows Server 2008 R2? 如何在不重新启动服务器的情况下添加新的持久磁盘? Exim:“dot”后面会发生什么 备份单表MS SQL SERVER 使用GPO安装升级软件包 RDP中“使用其他帐户”的键盘快捷键

如何用lighttpd返回410

我有一个服务的子域,我要杀了。

我想用410来标记它。

有没有办法做到这一点与lighttpd没有解决mod_magnet和lua脚本?

  • Lighttpdredirect到SSL会导致301redirect循环
  • (network.c.379)无法绑定到端口:80地址已经在使用中
  • 每个目录的lighttpd速率限制
  • SELinux政策问题
  • 使用lighttpd和regex将所有子域redirect到主域

  • lighttpd + PHP-fcgi响应速度慢
  • Lighttpdredirect非www到www
  • Lighttpd静态文件服务器403禁止错误
  • 将Apache授权标头规则迁移到Lighttpd
  • 在Apache,LightTPD和Nginx Web服务器上为PHP 5.x应用服务的当前状态?

将文档根设置为空的目录,并使用dynamicerror handling程序发送410响应。

例:

$HTTP["host"] == "gone.example.com" { server.document-root = "/var/www/gone" server.error-handler-404 = "/gone.php" } 

/var/www/gone/gone.php包含如下内容:

 <?php header("HTTP/1.1 410 Gone"); header("Status: 410 Gone"); 
  • 什么是相当于RewriteCond%{REQUEST_FILENAME}的lighttpd!-f?
  • 允许多个IP范围通过remoteip访问lighttpd中的虚拟主机
  • 用Lighttpd返回HTTP 204
  • 虚拟主机在lighttpd?
  • lighttpd域名和url匹配
  • 为您的网站使用非EV SSL内容的EV SSL证书
  • lighttpdconfiguration一起运行Django和传统网站
  • 在域名中的www的Lighttpdconfiguration
  • 在lighttpdconfiguration文件中设置模块path?
  • Lighttpd 403禁止错误

  • © 2017 服务器 Gind.cn
  • Topics
  •        
  • Powered by Server
  • Privacy Policy