服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. lighttpd
  3. 如何用lighttpd返回410
Intereting Posts
Windows Server 2008 VPN 从另一个无线路由器获取SSID 新贵没有开始工作 当MIMEtypes中没有列出扩展名时,IIS7响应404。 不能IIS只是将文件作为默认types? 有没有一个Web浏览器插件来查看MySQL数据库? AWS路线53:如果我想要使用外部服务器,我需要更改SOA和NSlogging吗? ZFS快照回滚的速度取决于文件数量吗? DNS使用Squid和BIND进行select性代理 HP的iLO是否支持SNMP轮询? TCP连接; 未收到ACK SQL SERVER EXPRESS 2008 DRBD / Heartbeat在虚拟机上 厨师的bootstrap(添加节点)本地主机 与HP集成硬件RAID控制器不同的硬盘驱动器? 医pipe局对地理上分散的网站的build议

如何用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