网页 综合 更新时间 2026-11-14 16:15:43

常见操作/教程 - Apache HTTP 服务器 版本 2.4

自动蜘蛛 httpd.apache.org 正文约 1025 字
模块 | 指令 | 常见问题 | 术语 | 网站导航 | Report a bug
Apache HTTP 服务器版本 2.4
可用语言: en | es | fr | ja | ko | zh-cn
认证是你验证某人是所声称的人。 授权是允许某人执行他想要的操作,或者获得想要的信息。
访问控制是操作限制,或基于任意条件访问资源。这可以通过多种方法完成。
CGI (通用网管接口) 为 web 服务器定义了与外部的内容生成程序的操作接口, 通常称为 CGI 程序或 CGI 脚本。它是在 web 站点放入动态内容的最简单, 也最常用的方法。 本文简单介绍了在 Apache 服务器中配置 CGI 的方法, 以及如何编写 CGI 程序。
.htaccess files provide a way to make configuration changes on a per-directory basis. A file, containing one or more configuration directives, is placed in a particular document directory, and the directives apply to that directory, and all subdirectories thereof.
See: .htaccess files
SSI (服务器端插入) 是在 HTML 页面中放入的指令,在页面被访问的时候执行。 它允许你在现有的 HTML 页面增加动态生成的内容,不需要通过 CGI 程序或其它动态计数来生成整个页面。
在有多个用户的系统中,使用 UserDir 指令,可以允许每个用户在他们的根目录中都有一个 web 站点。 访问 URL http://example.com/~username/ 会得到位于用户 "username" 根目录中由 UserDir 指定的子目录中的内容。
参见: 用户私人网站目录 (public_html)
可用语言: en | es | fr | ja | ko | zh-cn
Copyright 2026 The Apache Software Foundation.基于 Apache License, Version 2.0 许可证.
模块 | 指令 | 常见问题 | 术语 | 网站导航 | Report a bug
访问原文 返回搜索 https://httpd.apache.org/docs/current/howto/../zh-cn/howto/
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。