Lighttpd在不同端口上的SSL错误451 –

我不太清楚如何解释我的问题,但我会尝试。

在防火墙后面的Centos 6.4 64bit上有lighttpd 1.4.35。 其中一台虚拟主机正在使用带有SSL的不同端口(8800)。 我的设置是这样做的Vhost。

$SERVER["socket"] == "192.168.1.200:8800" { ssl.engine = "enable" ssl.ca-file = "/etc/lighttpd/myssl/ca-certs.crt" ssl.pemfile = "/etc/lighttpd/myssl/myssl.pem" server.errorlog = "/var/log/lighttpd/error.log" accesslog.filename = "/var/log/lighttpd/access.log" server.document-root = "/var/www/lighttpd/myapps" } 

实际上没有什么特别的,它的工作,直到应用程序的页面之一。 当我点击那个页面时,它会打开popup窗口,并显示所有popup窗口

  451 - 

我不太确定它是什么。 我谷歌什么451 – 手段和所有的参考显示,它与发布某种非法文件的域有关。 WTH? 这些应用程序是我们创build的仅供内部人员使用的所有内部应用程序。 这告诉我这个错误是不准确的。 但是,当我访问没有SSL的虚拟目录时,同一个页面打开就好了。

  $HTTP["host"] =~ "lab.myserver.net$" { server.document-root = "/var/www/lighttpd/myapps" server.errorlog = "/var/log/lighttpd/error.log" accesslog.filename = "/var/log/lighttpd/access.log" server.error-handler-404 = "/e404.php" } 

我不太清楚还有什么其他的信息需要在这里发布,以便大家能够看到潜在的问题。

这里是我为应用程序更新的lighttpd.conf的一部分。

  url.rewrite-once = ( ".*\?(.*)$" => "/index.php?$1", "^/js/.*$" => "$0", "^.*\.(js|ico|gif|jpg|png|css|swf |jar|class)$" => "$0", "" => "/index.php" ) include "vhosts.conf" 

我猜测这与redirectssl不喜欢的页面有关,但通常只适用于将应用程序redirect到不同的服务器。 我附上我的fastcgi设置。

  fastcgi.server = ( ".php" => ( "php-local" => ( "socket" => socket_dir + "/php-fastcgi-1.socket", "max-procs" => 1, "broken-scriptfilename" => "enable", ) ), ( "php-tcp" => ( "host" => "127.0.0.1", "port" => 9999, "check-local" => "disable", "broken-scriptfilename" => "enable", ) ), ( "php-num-procs" => ( "socket" => socket_dir + "/php-fastcgi-2.socket", "bin-environment" => ( "PHP_FCGI_CHILDREN" => "17", "PHP_FCGI_MAX_REQUESTS" => "10000", ), "max-procs" => 5, "broken-scriptfilename" => "enable", ) ), ) 

这个应用程序都在同一个服务器上调用这个函数。 任何build议如何使用不同的端口configurationssl的lighttpd? 我认为我所做的是正确的,但直到我用不同版本的lighttpd升级服务器之前,它一直在运行。 请帮忙?