课程: Linux System Engineer: Web Servers and DNS Using Apache, NGINX, and BIND
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
About CGI scripts - Red Hat Enterprise Linux教程
课程: Linux System Engineer: Web Servers and DNS Using Apache, NGINX, and BIND
About CGI scripts
- [Instructor] With web service we can execute scripts to create HTML content using the CGI, or common gateway interface. These scripts are often written in C, Python, Ruby, or Perl, but can be written in just about any other language. There are security concerns surrounding CGI scripts as you don't wanna use her to execute just any script. The Apache web server uses a ScriptAlias directive to determine where CGI scripts can reside. SELinux also limits whether Apache can run CGI scripts. And script directories need a special security context. Scripts run as the Apache user and can only access resources that the Apache user can access. CGI Scripts can be used to gather input from the user, query or update databases, email or even run system commands. So the possibilities are nearly endless.
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。