`apache2ctl restart`让Apache忘记了cgi-bin
在我的Debian机器上(运行由Debian打包的apache,包2.4.7-1),每次apache通过apache2ctl restart或apache2ctl graceful apache2ctl restart ,它都会忘记我的cgi-bin目录: me@aram:~$ sudo apache2ctl graceful-stop me@aram:~$ sudo apache2ctl graceful httpd not running, trying to start me@aram:~$ curl -s http://localhost/cgi-bin/hello Hello world, from a cgi script. me@aram:~$ sudo apache2ctl graceful me@aram:~$ curl -s http://localhost/cgi-bin/hello <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /cgi-bin/hello […]