Datasheet

“main” (Installation and Administration) 2004/6/25 13:29 page xx #20
i
i
i
i
i
i
i
i
22.7.2 Manual Configuration . . . . . . . . . . . . . . . . . . 537
22.8 Using Apache . . . . . . . . . . . . . . . . . . . . . . . . . . . 541
22.9 Active Contents . . . . . . . . . . . . . . . . . . . . . . . . . . 541
22.9.1 Server Side Includes: SSI . . . . . . . . . . . . . . . . . 543
22.9.2 Common Gateway Interface: CGI . . . . . . . . . . . 543
22.9.3 GET and POST . . . . . . . . . . . . . . . . . . . . . . 543
22.9.4 Languages for CGI . . . . . . . . . . . . . . . . . . . . 544
22.9.5 Generating Active Contents with Modules . . . . . . 544
22.9.6 mod_perl . . . . . . . . . . . . . . . . . . . . . . . . . 544
22.9.7 mod_php4 . . . . . . . . . . . . . . . . . . . . . . . . . 547
22.9.8 mod_python . . . . . . . . . . . . . . . . . . . . . . . 547
22.9.9 mod_ruby . . . . . . . . . . . . . . . . . . . . . . . . . 547
22.10 Virtual Hosts . . . . . . . . . . . . . . . . . . . . . . . . . . . . 548
22.10.1 Name-Based Virtual Hosts . . . . . . . . . . . . . . . 548
22.10.2 IP-Based Virtual Hosts . . . . . . . . . . . . . . . . . . 549
22.10.3 Multiple Instances of Apache . . . . . . . . . . . . . . 550
22.11 Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 551
22.11.1 Minimizing the Risk . . . . . . . . . . . . . . . . . . . 551
22.11.2 Access Permissions . . . . . . . . . . . . . . . . . . . . 551
22.11.3 Staying Updated . . . . . . . . . . . . . . . . . . . . . 551
22.12 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . 552
22.13 For More Information . . . . . . . . . . . . . . . . . . . . . . . 552
22.13.1 Apache . . . . . . . . . . . . . . . . . . . . . . . . . . . 552
22.13.2 CGI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 552
22.13.3 Security . . . . . . . . . . . . . . . . . . . . . . . . . . 553
22.13.4 Additional Sources . . . . . . . . . . . . . . . . . . . . 553
xx
Contents